Fig 1.1. ADC As An Interface Between Physical World and Digital Processors
Fig 1.1. ADC As An Interface Between Physical World and Digital Processors
Fig 1.1. ADC As An Interface Between Physical World and Digital Processors
Introduction
The modern trend is to have a portable, faster and accurate device with more
functionality. This set of requirements put constraints on the chip area, power consumption,
and involved delay. Digital design techniques are more reliable, consumes less chip area and
also consumes less power and hence the task of processing complex signal is preferably carried
out in digital domain. It is aimed to build larger electronics systems mainly with digital
components but it is not easy to get rid of the analog components as signals emanating from
the physical world are fundamentally analog in nature. This results in the evolution of mixed-
signal circuits. The Analog-to-Digital converter (ADC) is the key to mixed signal circuits as it
provides the interface between the physical world and digital processing. ADC is one of the
fundamental electronic components of the modern heavily digitized world. Its function is to
map a continuous signal in time, i.e. with an infinite number of values, to a digital signal,
consisting of a stream of binary codes, which can only take two abstract values, `zero' or `one',
and is easily processed in the digital domain by microcontrollers and processors. This operation
is depicted in Fig. 1.1
Fig 1.1. ADC as an interface between physical world and digital processors
An overwhelming variety of ADCs exist on the market today, with differing resolutions,
bandwidths, accuracies, architectures, packaging, power requirements, and temperature ranges,
as well as hosts of specifications, covering a broad range of performance needs. And indeed,
there exists a variety of applications in data-acquisition, communications, instrumentation, and
interfacing for signal processing, all having a host of differing requirements. Considering
architectures, for some applications just about any architecture could work well; for others,
there is a “best choice.” In some cases, the choice is simple because there is a clear-cut
advantage to using one architecture over another.
The most popular ADC architectures available today are successive approximations
(sometimes called SAR because a successive approximations (shift) register is the key defining
1|Page
element), flash (all decisions made simultaneously), pipelined (with multiple flash stages), and
sigma-delta (), a charge-balancing type. All A/D converters require one or more steps
involving comparison of an input signal with a reference. Figure 1.2 shows qualitatively how
flash, pipelined, and SAR architectures differ with respect to the number of comparators used
vs. the number of comparison cycles needed to perform a conversion.
FLASH Converter
Conceptually, the flash architecture (illustrated in Figure 1.3) is quite straightforward: a set
of 2n–1 comparator is used to directly measure an analog signal to a resolution of n bits. For a
4-bit flash ADC, the analog input is fed into 15 comparators, each of which is biased to compare
the input to a discrete transition value. These values are spaced one least-significant bit (LSB
= FS/2n) apart.
2|Page
The comparator outputs simultaneously present 2n–1 discrete digital output state. If for
example the input is just above 1/4 of full scale, all comparators biased to less than 1/4 full
scale will output a digital “1,” and the others will output a digital “0.” Together, these outputs
can be read much like a liquid thermometer. The final step is to level-decode the result into
binary form.
Design Considerations and Implications: The flash architecture has the advantage of being
very fast, because the conversion occurs in a single ADC cycle. The disadvantage of this
approach is that it requires a large number of comparators that are carefully matched and
properly biased to ensure that the results are linear. Since the number of comparators needed
for an n-bit resolution ADC is equal to 2𝑛 − 1, limits of physical integration and input loading
keep the maximum resolution fairly low. For example, a 4-bit ADC requires 15 comparators,
an 8-bit ADC requires 255 comparators, and a 16-bit ADC would require 65,535 comparators.
PIPELINED Converter
The pipelined (or pipelined-flash) architecture effectively overcomes the limitations of the
flash architecture. A pipelined converter divides the conversion task into several consecutive
stages. Each of these stages, as shown in Figure 1.4, consists of a sample-and hold circuit, an
m-bit ADC (e.g., a flash converter), and an m-bit D/A converter (DAC). First the sample and
hold circuit of the first stage acquires the signal. The m-bit flash converter then converts the
sampled signal to digital data. The conversion result forms the most significant bits of the
digital output. This same digital output is fed into an m-bit digital-to-analog converter, and its
output is subtracted from the original sampled signal. The residual analog signal is then
amplified and sent on to the next stage in the pipeline to be sampled and converted as it was in
the first stage. This process is repeated through as many stages as are necessary to achieve the
desired resolution. In principle, a pipelined converter with p pipeline stages, each with an m-
bit flash converter, can produce a high-speed ADC with a resolution of n = p X m bits using p
X (2m–1) comparators. For example, a 2-stage pipelined converter with 8-bit resolution
requires 30 comparators, and a 4- stage 16-bit ADC requires only 60 comparators. In practice,
3|Page
however, a few additional bits are generated to provide for error correction.
Design Considerations and Implications: Pipelined converters achieve higher resolutions than
flash converters containing a similar number of comparators. This comes at the price of
increasing the total conversion time from one cycle to p cycles. But since each stage samples
and holds its input, p conversions can be underway simultaneously. The total throughput can
therefore be equal to the throughput of a flash converter, i.e., one conversion per cycle. The
difference is that for the pipelined converter, we have now introduced latency equal to p cycles.
Another limitation of the pipelined architecture is that the conversion process generally
requires a clock with a fixed period. Converting rapidly varying non-periodic signals on a
traditional pipelined converter can be difficult because the pipeline typically runs at a periodic
rate.
Design Considerations and Implications: A SAR converter can use a single comparator to
realize a high-resolution ADC. But it requires n comparison cycles to achieve n-bit resolution,
compared to p cycles for a pipelined converter and 1 cycle for a flash converter. Since a
successive-approximations converter uses a fairly simple architecture employing a single SAR,
4|Page
comparator, and DAC, and the conversion is not complete until all weights have been tested,
only one conversion is processed during n comparison cycles. For this reason, SAR converters
are more often used at lower speeds in higher-resolution applications. SAR converters are also
well suited for applications that have non-periodic inputs, since conversions can be started at
will. This feature makes the SAR architecture ideal for converting a series of time-independent
signals. A single SAR converter and an input multiplexer are typically less expensive to
implement than several sigma-delta converters. With dither noise present, SAR and pipelined
converters can use averaging to increase the effective resolution of the converter: for every
doubling of sample rate, the effective resolution improves by 3 dB or 1/2 bit.
One consideration when using a SAR or pipelined converter is aliasing. The process of
sampling a signal leads to aliasing—the frequency-domain reflection of signals about the
sampling frequency. In most applications, aliasing is an unwanted effect that requires a low-
pass anti-alias filter ahead of the ADC to remove high-frequency noise components, which
would be aliased into the passband. However, under sampling can put aliasing to good use,
most often in communications applications, to convert a high frequency signal to a lower
frequency. Under sampling is effective as long as the total bandwidth of a signal meets the
Nyquist criterion (less than one-half the sampling rate), and the converter has sufficient
acquisition and signal sampling performance at the higher frequencies where the signal resides.
While fast SAR converters are capable of under sampling, the faster pipelined converters tend
to be more effective at it.
SIGMA-DELTA Converter
The sigma-delta architecture takes a fundamentally different approach than those outlined
above. In its most basic form, a sigma-delta converter consists of an integrator, a comparator,
and a single bit DAC, as shown in Figure 1.6. The output of the DAC is subtracted from the
input signal. The resulting signal is then integrated, and the integrator output voltage is
converted to a single-bit digital output (1 or 0) by the comparator. The resulting bit becomes
the input to the DAC, and the DAC’s output is subtracted from the ADC input signal, etc. This
closed-loop process is carried out at a very high “oversampled” rate. The digital data coming
from the ADC is a stream of “ones” and “zeros,” and the value of the signal is proportional to
the density of digital “ones” coming from the comparator. This bit stream data is then digitally
filtered and decimated to result in a binary-format output.
5|Page
Design Considerations and Implications: One of the most advantageous features of the sigma-
delta architecture is the capability of noise shaping, a phenomenon by which much of the low-
frequency noise is effectively pushed up to higher frequencies and out of the band of interest.
As a result, the sigma-delta architecture has been very popular for designing low-bandwidth
high-resolution ADCs for precision measurement. Also, since the input is sampled at a high
“oversampled” rate, unlike the other architectures described in this paper, the requirement for
external anti-alias filtering is greatly relaxed. A limitation of this architecture is its latency,
which is substantially greater than that of the other types. Because of oversampling and latency,
sigma-delta converters are not often used in multiplexed signal applications. To avoid
interference between multiplexed signals, a delay at least equal to the decimator’s total delay
must occur between conversions. These characteristics can be improved in sophisticated sigma-
delta ADC designs by using multiple integrator stages and/or multi-bit DACs.
1.1 Motivation
In this thesis we aim to design a switched capacitor DAC for implementation inside the
SAR ADC. The performance requirement of SAR ADC can be represented in terms of static and
dynamic metrics. Static metrics include differential-non-linearity (DNL) and integral-non-linearity
(INL) while dynamic metric includes signal-to-noise-plus-distortion ratio (SNDR) and effective-
number of-bits (ENOB). All of these nonlinear parameters depend mainly on the structure of the
capacitive array of the feedback digital-to-analog converter (DAC). The capacitive array acts as both
sampling capacitance and feedback DAC and its linearity affects the overall performance of ADC. Thus,
design of DAC demands special attention and also requires proper design methodology. The following
design steps have been followed for designing DAC:
Literature review
Choice of the DAC capacitor topology
System level study
Estimation of non-linearity of DAC
Investigation of calibration technique to reduce the non-linearity of DAC
Circuit level implementation of the functional block of the DAC
6|Page
1.3 Organization of the thesis
7|Page
2. Successive Approximation Register (SAR) ADC
Speed, resolution, and power consumption are three critical parameters for an ADC.
Analysing and processing digital signals are dependent on specific demands. However, the
ADC operates continuously. Therefore, the power consumption is a very important factor in
the ADC circuit design. It is known that the successive approximation register ADC (SAR
ADC) architecture is well suitable for large-scale wireless sensor networks, physiological and
data acquisition applications, especially when multiple channels require input multiplexing due
to its moderate speed, moderate resolution and very low power consumption characteristics.
8|Page
Fig 2.2 Architecture of Differential SAR ADC
9|Page
Fig 2.3 SAR ADC timing
The balance scale analogy given in Figure2.5 is used to demonstrate the algorithm. In
this analogy problem, the object is to determine the least number of weights which would serve
10 | P a g e
to weigh an integral number of pounds from 1 lb to 63 lb using a balance scale. One solution
put forth by the mathematician Tartaglia in 1556, was to use the series of weights 1 lb, 2 lb, 4
lb, 8 lb, 16 lb, and 32 lb. Assume unknown weight to be 45lb.
11 | P a g e
2.5 Performance metrics of SAR ADC
Ideally, an ADC encodes a continuous-time analog input voltage, Vin, into a series of
discrete N-bit digital words that satisfy the relation,
𝑁−1
𝑏𝑘
𝑉𝑖𝑛 = 𝑉𝐹𝑆 ∑ +∈ … … … … … … … (2.1)
2𝑘+1
𝑘=0
Where VFS is the full-scale voltage, bk are the individual output bits and is the quantization
error. This relation can also be written in terms of the least significant bit (LSB) or quantum
voltage level,
𝑉𝐹𝑆
𝑉𝐿𝑆𝐵 = 𝑁 = 1 𝐿𝑆𝐵 … … … … … … … (2.2)
2 −1
As
𝑁−1
A plot of this ideal characteristic for a 3-bit ADC is shown in Fig 2.4
12 | P a g e
Each unique digital code corresponds to a small range of analog input voltages. This
range is 1 LSB wide (the code width") and is centered around the code center. All input voltages
resolve to the digital code of the nearest code center. The difference between the analog input
voltage and the corresponding voltage of the nearest code is the quantization error. Since the
ADC has a finite number of output bits, even an ideal ADC produces some quantization error
with every sample. The number of output bits from an analog-to-digital converter do not fully
specify its behaviour. Real A/D converters can differ from ideal behaviour in many ways. A
variety of metrics exist in order to evaluate the performance of an ADC. These metrics can be
divided into two main categories: metrics for (a) static and (b) dynamic performance. We start
with the static errors and move on with the dynamic ones.
Offset Error: Offset Error is also referred to as zero scale error. It is defined as the
difference between Ideal offset point (0.5 LSB) to actual offset and it can be a positive or
negative value. Offset Error value is usually specified using one of the following units: Volts,
Least Significant Bits (LSB), %Full Scale Value (%FSV), and parts per million (ppm).
Fig 2.7 (a) Positive Offset error (b) Negative Offset error
Gain error: It is also referred to as Full Scale Error. It represents the difference between
ideal voltage which provides Full scale output code versus the actual voltage for which the
13 | P a g e
converter provides full scale output code. This measurement is done after calibrating the ADC
readings for the offset error. The error represents the difference in the ideal and actual slopes;
therefore, percentage error is same across all the ADC step. Gain Error value is usually
specified using one of the following units: %FSV or LSB or Volts. Gain error can also be
positive and negative. Fig 2.8 illustrates a positive gain error.
14 | P a g e
equation is really an error calculation using the measured code width, W[k], and the ideal code
width Q. The measured code width is calculated by subtracting the two adjacent code
transitions, T[k] and T[k-1]. If the measured code width is equal to the ideal code width, the
DNL is zero. If the measured code is longer than the ideal code, the DNL is positive. And if
the measured code is shorter, the DNL is negative.
𝑊(𝐾) − 𝑄
𝐷𝑁𝐿(𝑘) = … … … … … … … (2.4)
𝑄
15 | P a g e
Fig 2.11 shows an example of how the differential nonlinearity specification is shown
in data sheets. For each code in the transfer function, we compare the measured code width to
the ideal code width. Thus, one way that this specification can be displayed is a graph of DNL
versus ADC output code. In our simplified example, one can see the DNL versus ADC code
for a 3-bit converter. The calculation for code 101 is shown. This bit is 0.031V wide which is
short compared to the ideal width of 0.125V so the DNL is negative. Fig 2.11(c) shows a more
practical example of an 18-bit converter. In this case thousands of DNL measurements are
being displayed and you can see that the DNL is typically less than 0.5 LSB.
Integration Nonlinearity (INL): It is a measurement of how close the measured ADC transfer
function compares to a straight line. To eliminate errors from gain and offset error, the
measured transfer function is compared to an ideal straight line that is fit to the end points of
the ADC transfer function. The deviation between the ideal line and the measured function is
the INL error. In the simplified example shown in Fig 2.12, the green dashed line is the end
point fit of the transfer function. The reason it is called an end point fit is that the green line
16 | P a g e
starts at the first code, 0000, and ends on the last code, 1111. For a perfectly linear ADC, the
straight-line fit would be directly down the middle of the ADC transfer function. In this case,
however, you can see that the measured function, shown in blue, deviates away from the linear
fit, so it is said to have a positive INL error. As with DNL error, the integral nonlinearity can
be displayed versus the ADC output code. Integral nonlinearity may be given units of LSB
codes or it may be given as a percentage of the full-scale range. Fig 2.13 shows a representation
of INL as in the datasheet of converter.
17 | P a g e
2
𝑉𝐿𝑆𝐵
Assuming a quantization noise power equal to , the maximum SNR represented by a
12
digital word of N bits in a bandwidth of Fs /2 is,
Total Harmonic Distortion (THD): Whenever an input signal of a particular frequency passes
through a non-linear device, additional content is added at the harmonics of the original
frequency. These harmonic frequencies usually distort the output and hence degrades the
performance of the system. This effect can be measured using the total harmonic distortion
(THD). THD is defined as the ratio of the sum of powers of the harmonic frequency
components to the power of the fundamental/original frequency component. In terms of RMS
voltage, the THD is given by,
√𝑉12 + 𝑉22 + ⋯ 𝑉𝑛2
𝑇𝐻𝐷 = … … … … … … … (2.7)
𝑉12
Effective number of bits (ENOB): Effective number of bits (ENOB) is the number of bits
with which the ADC behaves like a perfect ADC and is used in order to characterize the
converter in a simple manner. It is calculated by reversing equation (2.7) as,
𝑆𝐼𝑁𝐴𝐷 − 1.76
𝐸𝑁𝑂𝐵 = … … … … … … … (2.8)
6.02
The ENOB allows an easy comparison of the real performance of a converter.
Spurious free dynamic range (SFDR): The Spurious Free Dynamic Range (SFDR)
specification provides information regarding the difference between maximum amplitude tone
in frequency spectrum and the fundamental input tone. In applications where high linearity is
required, the SFDR is the most important metric.
18 | P a g e
3. Digital to Analog Converter (DAC) for SAR ADC
In moderate to high speed, high resolution SAR ADCs, the exponentially growing analog
power consumption will quickly start to dominate. One of the main power-hungry components
is the DAC. Switched Capacitor (SC) topologies are usually preferred because they only
consume power during charging and discharging and hence consumes less power. In this
chapter, we will discuss in brief about the SC-DAC. Firstly, the various topologies of SC-DAC
will be discussed followed by the discussion of various switching procedures, which play major
role in the power reduction of DAC. At the end of the chapter, conclusion will be made
regarding the suitable topology and switching procedure of DAC for the implementation in
SAR ADC.
The generation of the voltage levels is decided by the input code of the DAC, which
controls the switches that connect the bottom plate of the capacitors to Vref or ground,
respectively. The voltage division that is made each time represents the voltage level that is
used for the comparator decision. The output of DAC can be given as:
𝐶1 𝐶2 𝐶𝑁
𝑉𝐷𝐴𝐶 = 𝐷1 𝐶 + 𝐷2 𝐶 + ⋯ + 𝐷𝑁 𝐶 … … … … . . (3.1)
0 +𝐶1 +𝐶2 +⋯+𝐶𝑁 0 +𝐶1 +𝐶2 +⋯+𝐶𝑁 0 +𝐶1 +𝐶2 +⋯+𝐶𝑁
19 | P a g e
Equation (3.2) can be simplified to,
𝑁
1
𝑉𝐷𝐴𝐶 = ∑ 𝐷𝑖 𝐶𝑖 … … . (3.3)
𝐶𝑇𝑜𝑡𝑎𝑙
𝑖=1
Where 𝐶𝑇𝑜𝑡𝑎𝑙 = 𝐶0 + 𝐶1 + 𝐶2 + ⋯ + 𝐶𝑁 , and Di represents the node voltages.
Binary weighted DAC topology is very simple to implement. However, the number of
unit capacitors required in the array increases exponentially with the increase in the number of
bits. For N bit resolution, it requires 2N unit capacitors. As a result, it consumes larger chip
area, huge power and also limits the frequency of operation (as larger capacitors require larger
settling time).
capacitive array into more than two halves (as shown in Fig 3.3) by using multiple attenuation
(or bridge) capacitance. This will even reduce the total capacitance by large amount but then
there will be a parasitic capacitance at each node and hence will add nonlinearity to the circuit.
Thus, architecture with more than one attenuation (or bridge) capacitor will add more
nonlinearity to the overall circuit.
20 | P a g e
The value of attenuation capacitor should be such that the series combination of the attenuation
capacitor and the LSB array, assuming all lower terminal voltages of LSB side capacitor array
to zero, equals to the minimum capacitor of the MSB side i.e. Cu.
𝐶𝐿𝑆𝐵 𝐶𝑎𝑡𝑡
= 𝐶𝑒𝑞𝐿𝑆𝐵 … … . (3.4)
𝐶𝐿𝑆𝐵 + 𝐶𝑎𝑡𝑡
and
𝐶𝑒𝑞𝐿𝑆𝐵 = 𝐶𝑢 … … … … (3.5)
Calculation of total capacitance of N-bit Binary weighted with attenuation capacitor array
consisting of single attenuation capacitor and which divide array into two equal halves i.e.
m=l= N/2 can be done as follows:
Now we will calculate the output voltage of the Binary weighted with attenuation capacitor
array. At first equivalent Thevenin voltage (Vth) and equivalent capacitance looking into the
LSB side (as shown in Fig 3.6) is calculated. While calculating Ceq, all the lower terminal
21 | P a g e
voltages of capacitor is connected to the ground. Finally, the output voltage is calculated using
circuit as depicted in Fig 3.7.
𝐶1 𝐶2 𝐶𝑁/2
𝑉𝑡ℎ = 𝐷1 𝐶 + 𝐷2 𝐶 +. . +𝐷𝑁/2 𝐶 ,
1 +𝐶2 +⋯+𝐶𝑁/2 1 +𝐶2 +⋯+𝐶𝑁/2 1 +𝐶2 +⋯+𝐶𝑁/2
𝑁/2
∑𝑖=1 𝐷𝑖 𝐶𝑖
𝑉𝑡ℎ = 𝐶 and 𝐶𝑒𝑞 = (𝐶1 + 𝐶2 + ⋯ + 𝐶𝑁 ) ||𝐶𝑎𝑡𝑡 . If 𝐶𝐿𝑆𝐵 = 𝐶1 + 𝐶2 + ⋯ + 𝐶𝑁/2 ,
1 +𝐶2 +⋯+𝐶𝑁/2 2
22 | P a g e
𝐶𝑁 𝐶𝑁
𝐶𝑒𝑞 +1 +1
𝑉𝐷𝐴𝐶 = 𝑉𝑡ℎ 𝐶 + 𝐷𝑁+1 𝐶 2
+ ⋯ + 𝐷𝑁+1 𝐶 2
𝑒𝑞 +𝐶𝑁 +..+𝐶𝑁 2 𝑒𝑞 +𝐶𝑁 +..+𝐶𝑁 2 𝑒𝑞 +𝐶𝑁 +..+𝐶𝑁
+1 +1 +1
2 2 2
𝑉𝑡ℎ 𝐶𝑒𝑞 + ∑𝑁
𝑖=1 𝐷𝑁 +𝑖 𝐶𝑁 +𝑖
2 2
𝑉𝐷𝐴𝐶 = … … … . . (3.10)
𝐶𝑇𝑜𝑡𝑎𝑙
Binary weighted with attenuation capacitor array architecture requires less capacitor and hence
consumes less power and also requires less area. As we have seen, it requires an attenuation
capacitor two split array into two halves. Thus, two nodes were created and hence there will be
unwanted capacitor will be generated after fabrication. These parasitic capacitances will add
nonlinearity to the DAC. Also, this architecture is very sensitive to mismatch in capacitors.
Several new techniques using alternative switching algorithms have been proposed by the
researchers which dramatically decrease this power consumption. In this section different
switching procedures are described.
23 | P a g e
Fig 3.8. Conventional switching procedure
24 | P a g e
Fig 3.10. Monotonic switching procedure
In this chapter, we have seen that conventional Binary weighted DAC topology is
simple to implement but requires larger area. Thus, Binary weighted with attenuation capacitor
array topology will be used along with the monotonic switching procedure as t is found to be
more energy efficient. From now onwards we will discuss various design issues which we need
to overcome while designing this array in the following chapters.
25 | P a g e
4. Capacitor array design issues
In this work, Binary weighted with Attenuation Capacitor array structure having m=l=N/2
capacitors in both MSB and LSB array, as shown in figure 4.1 is used as DAC. Monotonic
capacitor switching procedure is adapted for switching the DAC unit as it has been found to be
more energy efficient. Because the MSB is already determined by the sign of the sampled
voltage due to monotonic switching, only 11 parallel capacitors are switched from ground to
the reference voltage and eventually back to ground during a conversion. However, an
additional parallel capacitor equal to the unit capacitor needs to be inserted to divide the
reference voltage by exactly two at each successive bit cycling step.
The output voltage of DAC can be expressed by simplifying equation 3.10 as,
𝑁⁄2
𝑉𝑟𝑒𝑓 𝐶𝑒𝑞𝐿𝑆𝐵 ⁄2 𝑁 2
∑𝑁
⁄
𝑉𝐷𝐴𝐶 = 𝐶𝑇𝑜𝑡
[∑ 𝐷𝑁+𝑖 𝐶𝑁+𝑖 + 𝐶𝐿𝑆𝐵 𝑖=1 𝐷𝑖 𝐶𝑖 ] ……………… (4.1), where 𝐶𝐿𝑆𝐵 = ∑𝑖=1 𝐶𝑖 ,
2 2
𝑖=1
𝑁⁄2
𝐶𝑀𝑆𝐵 = ∑ 𝐶𝑁+𝑖 , 𝐶𝑒𝑞𝐿𝑆𝐵 = 𝐶𝐿𝑆𝐵 ∥ 𝐶𝑎𝑡𝑡 , 𝐶𝑇𝑜𝑡 = 𝐶𝑒𝑞𝐿𝑆𝐵 + 𝐶𝑀𝑆𝐵 , 𝐷𝑖 is the binary bit value
2
𝑖=1
and using equation (3.6) we can write Catt as,
𝑁
−1
22
𝐶𝑎𝑡𝑡 = 𝑁 𝐶𝑢 ……………. (4.2), where Cu is the unit capacitor.
−1
2 2 −1
The fractional value of Catt is hard to be realized on the die itself. From (4.2), it is also
clear that as the number of bits increase Catt ≈ Cu. Thus, Catt is kept same as Cu which introduces
𝑁
2 ⁄2−1
a gain error,𝐺𝑎𝑖𝑛𝑒𝑟𝑟𝑜𝑟 |𝑚𝑎𝑥 = 𝑁 𝐶𝑢 . This gain error is predictable and it does not affect
2 ⁄2−1 −1
the linearity of the DAC. Fig. 4.2 shows the gain error contributed by each bit for a 14-bit
Binary weighted with attenuation capacitor DAC.
26 | P a g e
Fig 4.2. Gain error contributed by each bit for a 14-bit Binary
weighted with attenuation capacitor DAC
This chapter mainly deals with the various issues which must be taken into consideration
while designing the capacitor array to be used in SAR ADC. These issues are discussed briefly
in the following section.
27 | P a g e
When the switch is on, its transistor can be modelled as resistor. The resulting equivalent circuit
is a simple RC circuit (Figure 4.3). Thermal noise (Johnson noise) from the resistor affects the
voltage at the capacitor’s terminal; the capacitor itself does not introduce any noise. The output-
𝑘𝑇
referred RMS noise voltage in a RC circuit is given by, 𝑉𝑛𝑜𝑖𝑠𝑒,𝑅𝑀𝑆 = √𝐶 . Equivalently,
𝑢
𝑘𝑇
𝐶𝑢 = 𝑉 2 . As the peak-to-peak value of the thermal noise will be larger than the RMS
𝑛𝑜𝑖𝑠𝑒,𝑅𝑀𝑆
𝑟𝑒𝑓𝑘𝑇 𝑉
value, must be well below 0.5 VLSB i.e. √𝐶 ≤ 2𝑁+1 . Thermal noise imposes a fundamental
𝑢
limit on the size of unit capacitor. Higher the unit capacitor, lower the effect of thermal noise.
28 | P a g e
where Xc is the matching coefficient, depends upon capacitor type and technology and AC,total
depends on geometric dimensions of the capacitors expressed as,
Fig 4.5. MIM capacitors layout with the extended area to mitigate DRC violation
capacitor to mitigate the DRC violation and W, L is the actual width and length of capacitor.
The standard deviation of single transistor is √2 times smaller than the standard deviation of
the difference of two capacitor and is given as
𝐶.𝑋𝑐
𝜎(𝐶) = ………………………. (4.5)
√2𝐴𝐶,𝑡𝑜𝑡𝑎𝑙
Standard deviation of capacitor Cn, consisting of ‘n’ parallel unit capacitance (Cu) can be given
by,
29 | P a g e
Fig 4.6. Figure showing the DAC model during sampling
constant () and hence estimate the bandwidth limitation of the DAC. For an accurate sampling
𝑇
𝑡𝑠𝑎𝑚𝑝𝑙𝑖𝑛𝑔 ≈ 𝑐𝑙𝑜𝑐𝑘⁄2 ≫ 𝜏 . As capacitor increases, 𝜏 increase which untimely limits the
bandwidth. Again,
𝑡
𝑉𝑐 (𝑡) = 𝑉𝑖𝑛 (1 − 𝑒 −𝜏 )
𝑉𝑖𝑛 − 𝑉𝑐 (𝑡)
𝑡 = − ln ( ).𝜏
𝑉𝑖𝑛
1 𝑉𝑟𝑒𝑓
(𝑉𝑖𝑛 − 𝑉𝐶 (𝑡))|𝑡 = 𝑡_𝑠𝑒𝑡𝑡𝑙𝑖𝑛𝑔 ≤ 𝐿𝑆𝐵 ≈ 𝑁+2
4 2
𝑉𝑟𝑒𝑓
𝑡𝑠𝑒𝑡𝑡𝑙𝑖𝑛𝑔 = − ln(𝑉 𝑁+2
)𝑅𝑆𝑤𝑖𝑡𝑐ℎ 𝐶𝑇𝑜𝑡𝑎𝑙 ……………………. (4.7)
𝑖𝑛 2
Equation (4.7) can validate that settling time can be reduced by choosing low value of unit
capacitance.
These are the major issues covered which should be taken care of while designing the DAC.
Apart from all these issues one more issue is the effect of the parasitic capacitance which is
prominent in the binary weighted with attenuation capacitor architecture. This parasitic
capacitance effect along with the capacitive mismatch is covered much in details in the
following chapters.
30 | P a g e
5. Analytical Model for the estimation of non-linearity
in capacitive DAC in SAR ADC
As discussed in previous chapters, the efficiency in terms of accuracy, power
consumption, and on-chip area of Successive Approximation Register (SAR) Analog to Digital
Converter (ADC) depends on the charge redistribution Digital to Analog Converter (DAC).
Thus, the optimal design of SAR ADC demands accurate design and analysis of the DAC unit.
In this chapter, a MATLAB model of charge-redistribution DAC based on Binary Weighted
with attenuation capacitor array has been presented for the design of a SAR ADC. This
MATLAB based model performs statistical as well as parametric simulations including the
effects of parasitic capacitances and capacitor mismatch which help in the accurate estimation
of static and dynamic non-linearity of the DAC unit.
Fig 5.1. Non-ideal model of Binary Weighted DAC architecture with attenuation capacitor
The DAC output voltage considering all the parasitic capacitance’s is given as,
𝑁⁄2
𝑉𝑟𝑒𝑓 𝐶𝑒𝑞𝐿𝑆𝐵,𝑝𝑎𝑟 ⁄2
𝑉𝐷𝐴𝐶 = 𝐶 [∑ 𝐷𝑁+𝑖 𝐶𝑁+𝑖 + ∑𝑁
𝑖=1 𝐷𝑖 𝐶𝑖 ] …………………. (5.1)
𝑇𝑜𝑡,𝑝𝑎𝑟 2 2 𝐶𝐿𝑆𝐵,𝑝𝑎𝑟
𝑖=1
31 | P a g e
𝑁
⁄2
Where, 𝐶𝐿𝑆𝐵,𝑝𝑎𝑟 = ∑𝑁𝑖=1 𝐶𝑖 + 𝐶𝑝𝑙 = 2 2 −1 𝐶𝑢 + 𝐶𝑝𝑙 ,
𝑁 ⁄2 𝑁
𝐶𝑀𝑆𝐵,𝑝𝑎𝑟 = ∑ 𝐶𝑁+𝑖 + 𝐶𝑝𝑚 = (2 2 − 1) 𝐶𝑢 + 𝐶𝑝𝑚 ,
𝑖=1 2
𝑁 𝑁 𝑁 𝑁
𝛥𝐷𝑝𝑎𝑟 = [(2 2 + 2 2 −1 − 1) 𝛼 + 2 2 𝛽 + (2 2 −1 + 1) 𝛾 + (𝛼. 𝛽 + 𝛼. 𝛾 + 𝛽. 𝛾)]… (5.3)
𝑁 ⁄2
𝐶𝑝 +𝐶𝑝𝑙 𝐶𝑝 𝑁 ⁄2
and,𝛥𝑁𝑝𝑎𝑟 = [( )∑ 𝐷𝑁+𝑖 2𝑖−1 + (∑𝑖=1 𝐷𝑖 2𝑖−2 + 𝐷1 )]……………. (5.4)
𝐶𝑢 𝑖=1 2 𝐶𝑢
Cp C pl C pm
considering, , and ………………………… (5.5)
Cu Cu Cu
From (5.3) and (5.4) it is clear that ∆Dpar is a constant value depending on the parasitic
and unit capacitance. Thus, it introduces a gain error without affecting the linearity of the DAC.
However, ∆Npar depends not only on the parasitic and unit capacitance but also on the bit values
(Di), thus, introducing non-linearity. This can further degrade the dynamic and static metric of
the DAC and subsequently of the converter. It is also seen from (5.5) that total parasitic
capacitance contributed by LSB and MSB array must be less than the unit capacitance to
minimize the non-linearity.
32 | P a g e
In this manner, each element of the capacitor array is computed. Using this array, DAC output
is computed.
MSB capacitance is the largest, thus it has the highest uncertainty of matching, affecting the
DAC output voltage the most. Hence while designing the DAC, care should be taken that the
maximum error due to MSB at the DAC output voltage should not exceed half LSB. i.e. ∆VDAC
≤ 0.5LSB.
It can be seen from (4.5) that the mismatch is inversely proportional to the area of unit
capacitance. Hence in order to achieve better matching higher unit capacitance is desired,
which in results a higher chip area and power consumption. Thus, there is a trade-off between
the improvement in nonlinearity due to mismatch and performance in terms of area and power
consumption which makes the design of DAC complex.
33 | P a g e
parasitic and mismatch. All the other units are kept ideal.
During sampling phase, top plate of the MSB capacitor array is connected to the input whereas
bottom plate is connected to Vrefp. The charge stored Qi during sampling can be expressed as,
𝑄𝑖 = 𝑄𝑖,𝑀𝑆𝐵 + 𝑄𝑖,𝑒𝑞𝐿𝑆𝐵 = (𝑉𝑖𝑛 − 𝑉𝑟𝑒𝑓𝑝 )𝐶𝑀𝑆𝐵 + 𝑉𝑖𝑛 𝐶𝑝𝑚 + (𝑉𝑖𝑛 − 𝑉𝑡ℎ )𝐶𝑒𝑞𝐿𝑆𝐵 , where
After sampling is done, input signal is disabled. The bottom plate of all the elements in the
capacitor array is determined using the decision made by SAR Logic. Assuming bottom plate
voltages as Vi, where i = 1, 2...N. The final charge stored Qf at any conversion instant can be
calculated as,
𝑄𝑓 = 𝑄𝑓,𝑀𝑆𝐵 + 𝑄𝑓,𝑒𝑞𝐿𝑆𝐵
𝑄𝑓 = (𝑉𝐷𝐴𝐶 − 𝑉𝑁 )𝐶𝑁 + (𝑉𝐷𝐴𝐶 − 𝑉𝑁−1 )𝐶𝑁−1 + ⋯ + (𝑉𝐷𝐴𝐶 − 𝑉𝑁+1 ) 𝐶𝑁+1 + 𝑉𝐷𝐴𝐶 𝐶𝑝𝑚
2 2
+ (𝑉𝐷𝐴𝐶 − 𝑉𝑡ℎ )𝐶𝑒𝑞𝑙𝑆𝐵
𝑁⁄2
(𝐶𝐴𝑡𝑡 +𝐶𝑝 )(𝐶𝐿𝑆𝐵 +𝐶𝑝𝑙 ) 𝑁/2 (𝐶𝐴𝑡𝑡 +𝐶𝑝 ) ∑𝑖=1 𝐶𝑖 𝑉𝑖
𝑄𝑓 = 𝑉𝐷𝐴𝐶 [𝐶𝑀𝑆𝐵 + 𝐶𝑝𝑚 + (𝐶 ] − ∑𝑖=1 𝐶𝑁+𝑖 𝑉𝑁+𝑖 − .. (5.8)
𝐿𝑆𝐵 +𝐶𝐴𝑡𝑡 +𝐶𝑝 +𝐶𝑝𝑙 ) 2 2
(𝐶𝐴𝑡𝑡 +𝐶𝑝 +𝐶𝐿𝑆𝐵 +𝐶𝑝𝑙 )
where 𝑉𝑁 = 𝐷𝑁 𝑉𝑟𝑒𝑓𝑝
Using charge conservation principle Qi = Qf, the DAC output voltage can be expressed as,
𝑁⁄2
𝑁⁄2
𝑉𝑟𝑒𝑓 (𝐾1 𝐶𝑀𝑆𝐵 +𝐶𝐿𝑆𝐵 𝐾2 )−𝐾1 ∑ 𝐶𝑁 𝑉𝑁 −𝐾2 ∑𝑖=1 𝐶𝑖 𝑉𝑖
+𝑖 +𝑖
2 2
𝑉𝐷𝐴𝐶 = 𝑉𝑖𝑛 − [ 𝑖=1
] …………… (5.9)
𝐾3 𝐾1 +𝐾2 𝐾4
where
In the above equation (5.9), to show the parasitic effect, different combination of
𝛼, 𝛽 𝑎𝑛𝑑 𝛾 is chosen. Based on the relationship developed in equation (5.5), C pl , C p and C pm
is calculated and substituted in the above equation (5.9).
However, in order to include the mismatch, a statistical analysis has been performed
for all the capacitance between their respective ranges i.e. Ci ±σ(Ci), where i = 1, 2...14. Once
the total element of the capacitor array is obtained, CMSB and CLSB is calculated and substituted
in the above equation.
34 | P a g e
Thus, DAC voltages of both DAC-P and DAC-N for fully differential architecture including
both parasitic capacitance and capacitive mismatch is obtained. Comparison among these
voltages is made by the comparator. Based on the results obtained by comparator, SAR logic
decides further switching of the DAC. The obtained results include the effect of both mismatch
and parasitic. From the obtained result static and dynamic non-linearity is calculated
35 | P a g e
5.5 Results and Discussion
In this section, various results obtained is shown as well as discussed. The performance of
the ADC has been measured with Vrefp = 1.8V and Vrefn = 0V. The reconstructed analog value
from 14-bit digital output, has been used to compute static and dynamic characteristic of the
converter.
In order to compute the static metric which comprises of DNL and INL, a ramp signal is
provided at the input. Obtained digital value is again reconstructed and thus a staircase output
is obtained. From this DNL and INL is calculated. However, to compute dynamic metric which
mainly comprises SNDR and ENOB, differential sinusoidal signal is applied ate the input and
14-bit digital output is obtained. Digital output is reconstructed using ideal DAC. Power
spectrum is calculated for the reconstructed analog signal and hence SNDR & ENOB is
calculated.
Fig 5.5 and Fig 5.6 is the curves of obtained DNL and INL considering only parasitic
capacitance effect. Here for different value of 𝛼, 𝛽 𝑎𝑛𝑑 𝛾 DNL and INL is obtained
considering unit capacitance as 900fF.
36 | P a g e
Fig 5.5. DNL and its normal distribution considering only parasitic (Cp, Cpl and Cpm)
Fig 5.6. INL and its normal distribution considering only parasitic (Cp, Cpl and Cpm)
It can be seen from the Fig 5.5 and Fig 5.6 that, with increase in the value of 𝛼, 𝛽 𝑎𝑛𝑑 𝛾 , DNL
and INL of the converter degrades. Lower the value of 𝛼, 𝛽 𝑎𝑛𝑑 𝛾 ,the curve converges to small
DNL and INL. In order to have better linearity, less parasitic capacitance is desired. Better
layout practices may help in minimizing these parasitic capacitances.
Now, only the mismatches are considered and DNL and INL is plotted in Fig 5.7 and
Fig 5.8. Here, different values of unit capacitor are chosen. Maximum allowed MIM metal area
is 150*150um. However, in order to obtain a better control of the bottom plate to substrate
parasitic capacitance, it is recommended to not draw MIM area greater than 30*30 um. Thus,
maximum unit capacitor considered here is 909fF corresponding to area 30*30 um.
37 | P a g e
Fig 5.7. DNL and its normal distribution considering only mismatch
Fig 5.8. INL and its normal distribution considering only mismatch
Now using the same procedure, dynamic metric (SNDR, ENOB) is calculated considering the
Fig 5.9. Power Spectrum of the ADC for (a) different parasitic value (Cp, Cpl and Cpm) (b)
mismatch of capacitor
38 | P a g e
effect of both parasitic capacitance and capacitive mismatch respectively and obtained
frequency response is shown in Fig 5.9. Here input signal is a sinusoidal wave of frequency
500Hz and is sampled at 1Msps.
Now, effect of both parasitic capacitance and mismatch is considered together. Various
results thus obtained are depicted in the Table 1.
Table 1: Effect of parasitic and mismatches on Static and Dynamic characteristic of DAC unit
39 | P a g e
632 No - 0.25 0.25 0.25 -0.2, 8 55.85 8.94
+4.6
No - 0.5 0.5 0.5 -0.2, 15 50.17 8.04
+8
Yes 3 0.1 0.1 0.1 -0.6, 3 64.33 10.39
+2
Yes 3 0.25 0.25 0.25 -0.4, 8 55.87 8.99
+4.6
Yes 3 0.5 0.5 0.5 -0.4, 15 50.21 8.05
+8
No - 0 0 0 0.2 0.2 78.67 12.78
Yes 3 0 0 0 0.2 0.2 78.56 12.76
No - 0.1 0.1 0.1 -0.2, 3 64.46 10.42
+0.18
909 No - 0.25 0.25 0.25 -0.2, 8 55.85 8.94
+4.6
No - 0.5 0.5 0.5 -0.2, 15 50.17 8.04
+8
Yes 3 0.1 0.1 0.1 -0.2, 3 64.35 10.39
+1.8
Yes 3 0.25 0.25 0.25 -0.2, 8 55.85 8.98
+4.6
Yes 3 0.5 0.5 0.5 -0.2, 15 50.21 8.05
+8
Above results shows the degradation of the linearity of the DAC unit on parasitic and
mismatches. Mismatch effect can be minimizedby choosing larger capacitance value as the
mismatch is inversely proportional with the area of the capacitor. MSB capacitance is the
largest, thus it has the highest uncertainty of matching, affecting the DAC output voltage the
most. Hence while designing the DAC, care should be taken that the maximum error due to
MSB at the DAC output voltage should not exceed half LSB. i.e. ∆VDAC ≤ 0.5LSB. Parasitic
effect can be minimized by using proper layout techniques. So, to achieve high resolution with
good accuracy mere split array DAC cannot be sufficient. Different calibration techniques must
be adopted to solve this trade-off between the improvement in non-linearity due to mismatch
and performance in terms of area and power consumption. In next chapter, calibration
technique is discussed in detail.
40 | P a g e
6. Calibration technique to reduce nonlinearity
In high resolution DAC’s or DAC with low Cu value a little mismatch could result in large
voltage variations at the output. Thus, it is important to calibrate mismatch in such circuits.
Here self-calibration technique is utilized in the DAC circuit to reduce the capacitance
mismatch. This is a foreground calibration technique hence it will be initiated automatically
whenever the circuitry is turned on for first time and after using certain clock periods for
calibration it will work with its normal operation as DAC.
The non-ideal model of Catt consists of three parts Cpl, Cpm, and Cp was shown in Fig. 5.1,
where Cpl is the net parasitic capacitance of the LSB array, Cpm is the net parasitic capacitance
of the MSB array and Cp is the parasitic between LSB and MSB array. Using this model, Ceff
(the effective contribution of LSB- side to DAC output node) is calculated as shown in Fig 6.1.
To ensure perfect linearity, Ceff must equal to the unit capacitor Cu.
41 | P a g e
Fig 6.2. Non-ideal model along with tunable capacitor CV
Precharging Phase: In this phase, all the MSB-side capacitances connected to ground
and all the LSB -side capacitances connected to Vref. VCM (common mode voltage) is
also connected and hence total capacitor array charged to potential equals to VCM.
Charge Re-distribution Phase: During this mode, VCM is disconnected and voltages
of lowest value capacitor on MSB-side and voltages on the LSB-side are swapped. Net
capacitance of the LSB-side should have been equal to the lowest valued capacitor on
the MSB-side, but because of the mismatch and parasitic capacitance, it is not equal.
Thus, redistribution of charge takes place and because of that the output voltage of DAC
is not equal to VCM.
Mismatch Calibration Phase: In this phase, the mismatch in the LSB side is
calibrated. The output of DAC should have been ideally equal to VCM, but practically
42 | P a g e
it is not so. The DAC output is monitored and compared with the VCM. In order to
compensate for the change in the output voltage of the DAC, linear tunable capacitor
CV is added on the LSB side. Proper tuning of C V, compensates for the change in the
voltage during charge redistribution phase. Hence mismatch in the LSB side is
calibrated. The value of Cv is freezed and hence will not change.
43 | P a g e
Now we will calibrate the DAC-P and DAC-N one by one. At first the DAC-P is calibrated
followed by DAC-N. Initially DAC-P is in precharge phase and state of DAC-N is not bothered
because comparator which compares the DAC-P and DAC-N output voltage, is disabled. Once
the DAC-P is precharged to VCM, it is shifted to charge redistribution phase. Now the DAC-N
is connected in precharge phase. Once the charge redistribution is done, comparator is enabled.
It compares the output voltage of DAC-P and DAC-N. Based on the results of the comparison,
Cv is tuned by proper control mechanism. Once the DAC-P voltage just exceeds Vcm, it
indicates that the DAC-P calibration is done. Cv corresponding to DAC-P is freezed and then
DAC-P is connected to Vcm. Now DAC-N is brought into the charge redistribution phase.
Same procedure is adapted for DAC-n also. Thus, both DAC-P and DAC-N is calibrated one
after another. Here, we need to ensure that the offset of comparator should be less than the LSB
and precision of Cv determines the accuracy of calibration. In Fig 6.7 illustrates the calibration
setup of DAC-P and DAC-N.
44 | P a g e
signifies the end of DAC calibration. Fig 6.8 illustrates the circuit diagram of Calibration
control circuit.
45 | P a g e
46 | P a g e
Fig 6.10. DAC switch controller array circuit
Implementation of control circuit of Calibration DAC (C-DAC): These are basically Flip-
Flops, which control the calibration DAC. Depending on the amount of mismatch, it is mainly
responsible for tuning the C-DAC after getting input from the Calibration control unit. Fig 6.11
sows the circuit diagram of the C-DAC switch controller.
47 | P a g e
6.3 Simulation results
The waveform of calibration of DAC-P shown in Fig 6.7 was simulated in cadence
with all peripherals of DAC connected. Here we can clearly see the DAC going through all the
three phases needed for the calibration. Initially, after the clock became active, DAC goes into
precharge phase and is charged to 900 mv. After that it goes into the charge redistribution
phase. We can clearly notice that, the voltage of DAC rises above the 900mv owing to the
mismatch in the LSB-side and the MSB-side. Lastly to resolve this issue, it goes into calibration
phase where by proper tuning action of the C-DACP, it compensates for the extra voltage rise
because of mismatch. This has been done for both DAC-P and DAC-N. In Fig 6.12, timing
diagram for the calibration of both DAC-P and DAC-N is shown.
48 | P a g e
Here the results for the dynamic metric are given for both before and after calibration.
We can illustrate from Fig 6.14 and Fig 6.15, that we are getting some improvements because
of calibration.
49 | P a g e
Dynamic metrics were calculated for input frequency 100Hz. Sampling frequency were varied
from 1KSPS to 25KSPS. Various data before and after calibration is shown in Table 6.1.
Improvements can be seen from this table also. However, due to resource constraint we were
unable to provide data relating to static metric.
Table 6.1: Data relating to dynamic metric before and after calibration
Input KSPS SINAD SFDR SNDR ENOB THD
Freq.
(Hz)
Before After Before After Before After Before After Before After
Calib Calib Calib Calib Calib Calib Calib Calib Calib Calib
100 1 61.29 71.75 63.72 74.18 58.87 69.33 9.88 11.62 61.29 71.75
100 5 61.75 72.20 63.94 74.40 60.51 70.97 9.96 11.70 61.75 72.20
100 10 61.94 72.40 64.10 74.56 60.78 71.24 9.99 11.73 61.94 72.40
100 25 62.05 72.50 64.19 74.65 60.92 71.38 10.02 11.75 62.05 72.45
50 | P a g e
REFERENCES:
[1] C. Hsu et al., “A 12-b 40-MS/s Calibration-Free SAR ADC,” in IEEE Transactions on Circuits and
Systems I: Regular Papers, vol. 65, no. 3, pp. 881-890, March 2018.
[2] S. Brenna et al., “A tool for the assisted design of charge redistribution SAR ADCs,” 2015 Design,
Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, 2015, pp. 1265-1268.
[3] A. Rodr´ıguez-P´erez et al., “Impact of parasitics on even symmetric split-capacitor arrays,”
International Journal of Circuit Theory and Applications, vol. 41, no. 9, pp. 972-987, April 2013.
[4] V. Hariprasath et al., “Merged capacitor switching based SAR ADC with highest switching energy-
efficiency,” in Electronics Letters, vol. 46, no. 9, pp. 620-621, 29 April 2010.
[5] Zhe Li, Yuxiao Lu and Tingting Mo, “Calibration for split capacitor DAC in SAR ADC,” 2013
IEEE 10th International Conference on ASIC, Shenzhen, 2013, pp. 1-4.
[6] “Design of a 12-bit low-power SAR A/D Converter for a Neurochip”. Master’s Thesis Pascal
Meinerzhagen, EPFL
[7] “Analysis of Area Efficiency of 12-bit SwitchedCapacitor DAC Topologies used in SAR ADC”
Vladimir Petrović, Dragomir El Mezeni, Radivoje Đurić, Member, IEEE, and Jelena Popović-Božović,
Member, IEEE.
[8]
51 | P a g e