Final Thesis - ADC
Final Thesis - ADC
Final Thesis - ADC
BACHELOR OF ENGINEERING
Topic:
Class:
Supervisor:
Committee member:
Hanoi, 6-2014
Independence-Freedom-Happiness
----------------------------------------------
---------------------------------------
...................................................................................... Student
ID Number:
....................................
1. Thesis title:
................................................................................................................................................................................................
2. Initial data:
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
.............................................................................................................................................................
Supervisor
................................................................................. Student
ID Number:
..........................................
......................................................................................................................................................................
Second reader:
...............................................................................................................................................................
1. Content of thesis:
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
................................................................................................................................................................................................
Date: .................................................
Committee member
(signature and full name)
Abstract
Smart devices such as smart phone, smart watch, tablet are booming over
the last few years. One of the most important things that make these devices become
so popular is that they use different way from traditional ones to interface with user:
the touchscreen. With the touchscreen, the user can interact directly with what is
displayed, rather than using a mouse, touchpad, or any other intermediate device.
Every time, to know command from user, the analog signal from the touch panel (a
part of touch screen) will always be converted to digital signal by Analog to Digital
Converters (ADCs) and then sent to the CPU. Therefore, the ADC here plays a key
role in the sensitivity and energy-saving of the touch panel.
All smart devices are handheld device so the problem of saving power is one
of the most important one. So, up to now, Successive Approximation Register
(SAR) ADC is always chosen in the touch panel because of its low power
consumption. However, the resolution of SAR ADC is medium compare to other
kinds of ADC, this makes it become not suitable for the demand of high sensitivity
and accuracy touch panel. In order to solve the problem, this thesis describes the
design of a high linearity low power 12-bit synchronous successive approximation
register (SAR) ADC for touch panel.
The prototype has been implemented in TSMC 0.18m Mixed-Signal CMOS
technology, the simulated effective number of bits (ENOB) at near Nyquist
frequency is 12.3-bit. The total power consumption of 15.7W is achieved at
100ksps results in figure of merit (FoM) of only 30.9fJ/conversion-step.
Acknowledgment
Five years studying in Hanoi University of Science and Technology is a
wonderful time in my life that I will never forget. It is not a long time, but not a
short time either. Throughout this time, I have been so happy and lucky to be
surrounded by family, friends, professors and classmates who have provided cheers
and support. I am indebted to all of them. Without their constant and unconditional
support, this would have never been accomplished.
I would like to express my sincere gratitude to my advisor Dr. Nguyen Vu
Thang for the continuous support of my Bachelor study and research, for his
patience, motivation, enthusiasm, and immense knowledge. There are a lot of thing
that I have learned from him: how to do research, to write a paper, give a coherent
talk, work in a group He gave me smart and valuable advises for problems in my
research as well as in my life whenever I needed.
I would like to thank my labmates in IC Design Lab: Nguyen Minh Duc, Dao
Ba Anh, Mai Tuan Anh, Do Minh Phu, Nguyen Tien Dat and my friends in Hanoi
University of Science and Technology for the stimulating discussions, for the
sleepless nights we were working together before deadlines, and for all the fun we
have had in the last five years.
I would like to thank Duong Viet Duc, Teaching Assistant and Research
Assistant at IC Design Lab, National Tsing Hua University, Hsinchu, Taiwan for his
valuable advises, support and experiment sharing through my Bachelor.
Last but not least, I would to thank my family who always has faith in me,
for their tremendous encouragement and unconditional support throughout my life.
Contents
Chapter 1
Introduction .............................................................................................. 1
Resolution ................................................................................................. 4
1.3.2.
1.3.3.
1.3.4.
1.3.5.
1.3.6.
2.3.2.
3.1.2.
3.1.2.2.
Amount of redundancy........................................................................ 28
3.1.2.3.
Chapter 4
5.1.2.
5.2.1.1.
5.2.1.2.
5.2.2.
5.2.3.
5.2.4.
5.2.5.
5.2.5.1.
5.2.5.2.
5.2.5.3.
5.2.5.4.
5.2.5.5.
5.2.5.6.
Chapter 6
6.1.2.
6.1.3.
Chapter 7
List of figure
Figure 1-1. Basic construction of a projected capacitive touch panel [1] ........................ 2
Figure 1-2. Block diagram of touch panel ....................................................................... 2
Figure 1-3. FoM versus sampling frequency of state-of-the-art ADCs published at
ISSCC and VLSI Symposium [3] .................................................................................... 3
Figure 1-4. A plot of the resolution versus the input sampling frequency for recent
published analog-to-digital converters in ISSCC and VLSI [3] ...................................... 3
Figure 2-1. An example of 5-bit quantization using a binary search algorithm [3]....... 10
Figure 2-2. Basic block diagram of a SAR ADC [3] ..................................................... 12
Figure 2-3. Schematics of the charge redistribution SAR implementation [3].............. 12
Figure 2-4. Switching scheme of a conventional SAR ADC [3] ................................... 13
Figure 2-5. An example ADC transfer function for SAR ADCs with/without
capacitor mismatches [3]................................................................................................ 16
Figure 2-6. Effective number of bits (ENOB) versus normalized capacitor mismatch
in a 12-bit binary weighted SAR ADC [3]...................................................... 17
Figure 2-7. Schematic of a SAR ADC with offset errors [3] ......................................... 18
Figure 3-1: Binary search algorithm without redundancy. The search step sizes in
this example are binary weighted with values equal to 8, 4, 2 and 1 [3] ....................... 22
Figure 3-2: Comparison of using a traditional binary search algorithm (4-bit 4-step)
and a sub-binary search algorithm (4-bit 6-step) [3]...................................................... 24
Figure 3-3: Digital error correction using redundancy in SAR ADCs [3] ..................... 24
Figure 3-4: Highlighted error tolerance windows (
Figure 3-8: The maximum radix and the minimum number of conversion steps [3] . 30
Figure 4-1. The superposition property of linear system [27] ....................................... 34
Figure 4-2: The perturbation of a linear SAR ADC (with optimal bit weights). [27] ... 36
Figure 4-3: The perturbation of a nonlinear ADC (with error in the MSB bit weight
only). [27] ....................................................................................................................... 36
Figure 5-1: The architecture of overall ADC ................................................................. 41
Figure 5-2: SAR ADC architecture ................................................................................ 42
Figure 5-3: The block diagram of the perturbation-based background digital
calibration. ...................................................................................................................... 42
Figure 5-4: Conventional SAR switching algorithm, showing energy consumption
related to capacitor switching transitions [3] ................................................................. 44
Figure 5-5: The top-plate waveform when using the conventional switching
algorithm [3]................................................................................................................... 44
Figure 5-6: The top-plate waveform when using the monotonic switching algorithm
[3] ................................................................................................................................... 46
Figure 5-7: Monotonic switching algorithm [3] ............................................................ 47
Figure 5-8: Comparing energy consumption of different switching algorithms [3] ...... 48
Figure 5-9: Bootstrap switch in [38] .............................................................................. 50
Figure 5-10: Dynamic comparator with a current source. ............................................. 51
Figure 5-11: The schematic of the preamplifier............................................................. 52
Figure 5-12: Split-output True Single Phase Clock (TSPC) Flip Flop .......................... 53
Figure 5-13: Clock generator a) Schematic. b) Timing diagram ................................... 54
Figure 5-14: Comparator control circuit a) Schematic. b) Timing diagram .................. 55
Figure 5-15: DAC Control Logic ................................................................................... 56
Figure 5-16: Dynamic threshold comparison circuit ..................................................... 57
Figure 5-17: Block diagram of the inner product block................................................. 58
Figure 5-18: Block diagram of LMS bloc ...................................................................... 58
Figure 6-1: The measured output spectra of the SAR ADC .......................................... 61
Figure 6-2: The measured DNL and INL of the SAR ADC .......................................... 62
List of table
Table 1-1. Current state-of-the-art SAR ADCs ............................................................... 7
Table 5-1: Comparison of different switching schemes in terms of various figures of
merit [3] .......................................................................................................................... 48
Table 5-2: DAC capacitors value ................................................................................... 49
Table 6-1: Comparison of the state-of-the-art works ..................................................... 62
Introduction
Chapter 1
Introduction
In this chapter, the structure of touch panel and all the metrics of an ADC
will be discussed. After studying carefully about these things, the design target will
be created. The chapter is organized as follow. In section 1.1, the structure and
operation of a most common capacitive touchscreen will be described. Section 1.2
will discuss the reason why the SAR architecture is selected. Section 1.3 describes
the fundamentals and performance metrics. The motivation of the proposed ADC
will be explained in section 1.4, and finally, the target specifications will be
described in section 1.5.
Introduction
TX Drive
Processor
ADC
RX Sense
Introduction
Figure 1-4. A plot of the resolution versus the input sampling frequency for
recent published analog-to-digital converters in ISSCC and VLSI [3]
Introduction
1.3.1. Resolution
The resolution represents the number of digital output code, N, of the ADC.
Resolution determines the step size of the least significant bit as in Equation 1.1,
where N is the resolution of the ADC, and
(1.2)
code (
) to (
code (
((
)
( ))
(1.3)
(1.4)
Introduction
(1.5)
)
(1.6)
) and ENOB.
(1.7)
1.4. Motivation
As describe in section 1.1., the change in mutual capacitance at every
individual point can be measured by determining the voltage change at the other
axis. To make this voltage change large enough about several millivolts, the voltage
that is apply in one axis must be quite large, about 18 volts. This make the power
consumption of the touch panel become very large. To deal with this problem, there
is one way that if the resolution of the ADC becomes large enough, the voltage
change that we need can be reduced and the applied voltage will be not so high as a
result.
The biggest challenge in designing a high linearity is the DAC capacitors
mismatch error, which is the typical dominant factor that limits static linearity in a
switched-capacitor SAR ADC. To overcome this problem, the implementation
utilizes sub-radix-2 redundant architecture combined with digital background
calibration engine. The redundancy gives chances to reduce area of the DAC circuit
as well as improve the performance of switched-capacitor SAR ADC. It does not
only guarantee digitally correctable static nonlinearities of the converter but also
5
Introduction
offer means to combat dynamic errors in the conversion process. A perturbationbased digital calibration technique is also applied to accomplish simultaneous
identification of multiple capacitor mismatch errors of the ADC, enabling the
downsizing of all sampling capacitors to save power and silicon area.
Introduction
Ref
[4]
[5]
[6]
[7]
This work
Year
2011
2013
2007
2013
--
Source
JSSC
TCAS2
JSSC
JSSC
--
Technology
0.13m
0.35m
0.18m
65nm
0.18m
Supply (V)
1.2V
2.3V
1V
1.2V
1.8V
Resolution (bit)
12
12
12
14
12
Fs (MS/s)
22.5
0.25
0.1
80
0.1
ENOB (bit)
11.3
11
10.5
11.9
11
0.107
0.025
31.1
0.06
FOM (fJ/C-S)
51.3
209
165
164.7
293
Chapter 2
Overview of Traditional SAR ADCs
10
with the mid-full-scale level of the initial search range. Since 6.2 is less than 16, the
first output bit of ADC is '0' and the upper half of previous search range is
eliminated. The searching process continues until the final binary output 00110 is
produced after five clock cycles. In the last search, the range of uncertainty is
reduced to one LSB, resulting in quantization error within
10
11
algorithm; however, in a later chapter, it will be shown that digital error correction
(or redundancy) can be used to greatly alleviate this problem.
with
output bits of the comparator, the SAR control reconfigures and updates the DAC.
An effective implementation of the DAC is the so-called charge
redistribution or capacitor array scheme [8, 9]. In this implementation, the
capacitive DAC performs both sample/hold function and subtractions in the charge
domain using capacitors. At the end of the conversion process, the charge is
properly re-distributed such that the top plate voltage on the DAC is approximately
the same as the voltage on the other input of the comparator ,which is zero in case
depicted in Figure 2-3. The SAR consists of an N-bit binary-weighted capacitive
DAC, a SAR control logic block and a comparator. Each capacitor within the DAC
can be re-configured by connecting it to either the input or the plus/minus reference
voltages. The total capacitance sums up to
, where
(2.1)
During the sample and hold phase, the input signal is sampled at the bottom
plates of the DAC array by connecting them to the input and the top plate of the
array to ground (Figure 2-4(a)). The total charge stored in the array is
(
(2.2)
11
12
while the
and
, becomes
(2.3)
In Equation 2.3, the first input sampling contributes to the first term and the the
MSB capacitor contributes to the second term. By comparing
the first output bit
next bit calculation.
directly to ground,
only if
and it
. After that,
configurations, respectively. The top plate voltages of the two configurations can be
12
13
(2.4)
13
14
(2.5)
At the end of the conversion, the input is converted into binary-weighted bit
sequences, [
is
(2.6)
and
affect the conversion process if the reference voltages are completely settled. On the
other hand, the parasitic capacitance on the top plate decreases the amplitude of
sampled input. The attenuation factor can be calculated as
(2.7)
where
is the total parasitic capacitance on the top plate. This attenuation reduces
the effective signal power, but does not change the polarity of the comparison
result, thus will not affect the correct output bits. The bottom-plate sampling
essentially enables this feature. In the sampling phase, the top plate is connected to
ground before the node becomes floating until the end of the conversion phase.
During the conversion, the voltage on the top plate changes but returns to a voltage
that is near zero at the end of the process. As a result, the total charge on
at the
beginning and at the end of the process is the same and therefore, from the
perspective of charge, capacitor
15
architectures since most parts of the ADC are digital, not analog. It also has the
potential to take full advantage of improved energy efficiency and speed in deeplyscaled CMOS. A correctly implemented SAR ADC typically supports full rail-torail input range, which can be advantageous for high-resolution designs. Lastly,
since the sampling capacitors are shared with the configurable DAC, SAR ADCs
can save significant areas and result in small chip area.
16
Figure 2-5. An example ADC transfer function for SAR ADCs with/without
capacitor mismatches [3]
On the other hand, when mismatch errors are present, the transfer function
deviates from the straight line as shown by the solid blue curve in Figure 2-5.
Misalignments occur in both the vertical and horizontal directions. Misalignment in
the vertical direction creates missing codes, which makes the DNL exceeds -1.
Misalignment in the horizontal direction creates missing levels, which implies that
some part of the original analog information is lost. Typically, missing codes are
digitally correctable while missing levels are not. As a result, ADCs should be
designed to avoid missing levels. More details on digital calibration, one effective
way to deal with capacitor mismatches, will be discussed in Chapter 3 and 4. Figure
2-6 shows the plot of ENOB versus the standard deviation of the unit capacitor [3].
It can be seen that even at 1% standard deviation in
by more than 1 bit without taking into consideration other non-idealities in the
design. Therefore, control and calibration for the mismatches in capacitors play a
key role in high-resolution design.
16
17
17
18
The residue at the end of the conversion given by Equation 2.8 shows that
the additional terms introduced by offset voltages do not depend on the input
voltage,
.
(2.8)
the necessary resolution. In reality, conversion errors can occur because the
comparator makes its decision before
ADCs uses binary search in which each analog input always maps to one distinct
digital output code, errors made during the conversion process cannot be recovered
at the end of the search process. As a result, it is essential that each comparison is
made correctly during the conversion process to ensure correct operation. The RC
settling of the DAC determines the minimal time that needs to be allocated for each
conversion step and therefore also determines the maximum operation speed of the
ADC. The required time for an N -bit ADC to settle within
Equation 2.12, where
is given in
is the total capacitance of the DAC. To improve speed of SAR ADCs, small
and
19
(2.9)
(
(2.10)
19
20
21
Chapter 3
Redundancy SAR ADCs
In chapter 2, the operation as well as the structure of a traditional binary weighted
SAR ADC is discussed. Even though it has many architectural advantages, such as
its efficiency in terms of conversion steps, energy efficiency, small chip size,
amenability to digital scaling, and ease of implementation, its resolution and speed
are still limited by a few key design challenges that need to be resolved. Since the
target designed SAR ADC has the sampling frequency very low, only 100ksps, only
capacitor mismatches but not the incomplete reference voltage settling due to high
switching activities is the main linearity and performance limiting factors.
In this chapter, we introduce and analyze the redundancy algorithm in SAR
ADCs and background digital calibration to see how it can help mitigate the
limitation discussed previously. The chapter is begin by giving a conceptual
overview of SAR redundancy and discussed its benefits in terms of achievable
resolution over the traditional binary search algorithm. It will be shown that having
redundant bits provides the extra leverage during the search process so that
conversion errors in the earlier steps can be corrected later and redundancy can
provide the necessary digital calibratability to calibrate out the mismatches in the
capacitor array. The expected random mismatches within the capacitors determine
the amount of redundancy that is necessary to cover this variation. The relationship
between the two parameters is analyzed.
22
one mapping property, the ADC cannot recover and produce the correct output
codes. This is shown clearer in Figure 3-1. In the plot, the decision levels, search
range, and search sequence for a 4-bit binary-weighted SAR ADC are highlighted.
The x-axis indicates the sequences of binary search and the y -axis shows the full
search range. In the plot, since none of the ranges within the same search cycle
overlaps, once a range is eliminated during the searching process, the range is
dropped from the search procedure and it will never be reconsidered again. This
confirms the previous conclusion that errors made during the conversion process
cannot be corrected in a binary search.
Figure 3-1: Binary search algorithm without redundancy. The search step sizes
in this example are binary weighted with values equal to 8, 4, 2 and 1 [3]
Although the binary search presented in Figure 3-1 has no error tolerance
capability, it suggests that if the search ranges within the same cycle do overlap, the
already dropped search range can potentially be recovered to produce the correct
digital output. To create overlapped search ranges, a less than radix-2 (sub-radix-2)
search is needed. Essentially, a sub-radix-2 search needs more than N steps to
convert an analog input into a N-bit digital output. Even though this search
22
23
algorithm is less efficient in terms of the number of steps required to reach a certain
resolution, it provides room for the necessary error tolerances to boost the
robustness of the overall operation. The two search algorithms is compared in
Figure 3-2. Here, s(i)'s represent the step sizes during the search process. In an N-bit
binary weighted algorithm, there are N steps s(i)'s with binary weighted values
, where i is between 0 and
requires M steps to realize N-bit digital output, where M > N. For example, in
Figure 3-2, the binary case only requires four steps with binary weighted s = [8; 4;
2; 1], while the sub-binary case requires six steps with s = [8; 2; 2; 1; 1; 1] to
achieve the same resolution. The total steps s is 15 in both cases, implying that the
two algorithms have identical search range. The final digital output for an N -bit M
-step ADC can be calculated using Equation 3.1.
( )
where
()
- ()
, ( )
(3.1)
digital
output bit, N is the effective resolution and M is the total number of steps. In this
example, the extra two steps is added to the original binary search to provide error
tolerance. An example demonstrating this error resilience is given in Figure 3-3.
The left-most plot shows an ideal example where all decisions are made correctly;
the middle plot shows an example where a decision error is made in the rst step and
finally, the right-most plot shows an example in which a decision error is made in
the second step. For
output bit sequences: [010010], [100010] and [100010], respectively. Their digital
outputs is calculated by using Equation 3.1 and they all result in the same Dout (=
6) as shown in Equation 3.2, 3.3 and 3.4. This demonstrates that redundancy has the
capability to digitally realize correct oputput code for at least some bit decision
errors.
,
)
(
(
)
)
(
23
(
)
)
(
(3.2)
24
)
(
(
)
)
(
)
(
(
)
(
)
)
(
)
(
(
)
(3.3)
)
(
(3.4)
Figure 3-2: Comparison of using a traditional binary search algorithm (4-bit 4step) and a sub-binary search algorithm (4-bit 6-step) [3]
Figure 3-3: Digital error correction using redundancy in SAR ADCs [3]
24
25
. For the
output bit,
()
(3.5)
As an example, Figure 3-4 shows a redundant SAR ADC with s = [8; 2; 2; 2; 1].
For the 5th output bit, the error tolerance window is given by Equation 3.6.
( )
( )
( )
( )
( )
(3.6)
output
bit, the next decision level will either move up or down by the step size of s(n-1)
once a decision is made. If erroneous occurs, then the sum of the follow-on step
sizes, s(n-2); s(n-3):; s(1), must be large enough and exceed the value of the
current step size to correct this mistake. That exceeded amount is the tolerance
window for that decision level.
Figure 3-4: Transfer functions for SAR designs with step sizes that are binary,
subradix-2 and super-radix-2 weighted [3]
25
26
Error-tolerance
window
Error-tolerance
window
Middle range
Middle range
Input voltage
temporary shift
Input voltage
27
provides extra error tolerance capability for the ADC with the input voltage outside
error window. In other words, the range of window is enlarged when DTC
technique is applied. Note that by utilized DTC technique, the error-tolerance
window does not increase unlimited, the amount of range extension will depend on
the way of implementation of this technique in SAR ADC.
28
()
( )
(3.7)
where i = 1; 2;; N . There will be no missing levels and all static errors are
digitally correctable as long as all decision levels satisfy Inequality 3.7.
3.1.2.2.
Amount of redundancy
Figure 3-7: Effective number of bits (N) versus number of steps (M) for
different radices () [3]
28
29
When the ADC is designed with a fixed radix, , the following relationship
is obtained
()
(
(3.8)
where i = M-1; M-2;; 1. The effective number of bits, N, can be calculated using
Equation 3.9
(3.9)
( )
where
is the sum of all the step sizes, N is the effective number of bits and M is
the total number of conversion steps. Figure 3-7 shows that although converters
with smaller radix, , require more steps to achieve the same resolution as the
converters with larger radix, they are more resilient against both dynamic and static
conversion errors.
3.1.2.3.
;;
re-written as follows
(3.10)
where
relationship. In this section, the appropriate radix number and the number of steps
such that Inequality 3.10 is satisfied with high probability, even in the face of
variation will be found.
A plot of maximum radix and the minimum number of conversion steps
needed for a given amount of capacitor mismatches in a 12-bit ADC is shown in
Figure 3-8 [3]. From this figure, it can be seen that when the variance of capacitor
29
30
is 0%, = 2.0 and M = 12; this corresponds to the classic non-redundant binary
search ADC case. On the other hand, in this implementation, it is estimated that
is
Figure 3-8: The maximum radix and the minimum number of conversion
steps M versus the standard deviation of the unit capacitor, in order to achieve
digital calibratability in a 12-bit ADC [3]
30
31
32
Chapter 4
Digital Background Calibration of SAR
ADCs
33
will
) which is
is subtracted
from the final digitized output, the injected signal should have no correlation with
the output signal. The calibration engine is designed to null this correlation by
adjusting the calibration parameters. Using this approach, the signal range and the
over-range protection is reduced since the signal path must accommodate the
addition of the calibration signal.
Rather than tampering with the input signal path, another approaches
estimate the static errors by using the input signal itself instead of a calibration
33
34
and
(4.1)
) as
(4.2)
Equation (4.2) implies that the correct quantization value of input voltage
can be obtained by subtracting the perturbation signal in digital domain in a linear
A/D conversion. Equation (4.2) can also be intuitively explained as follow: adding
and
and
34
35
shifts the transfer curve accordingly. If transfer curve is linear and all bit weights
are optimal, the two perturbed transfer curves line up with the original one,
assuming
. In reality,
can be precisely
instead of aligning with the original one in this case. Each analog input can be
digitized twice using both of the dashed and dash dotted curves in Figure 4-3(a) and
(b) respectively. Therefore, when an analog sample falls in the window, two
different digital codes are obtained. The difference between them gives a chance to
observe the bit weight error. By adjusting the bit weights to obtain optimal ones, the
error (window) diminishes and the transfer curve is linearized. The superposition
property of the linear transfer curve holds again. A large
results in a wide
4.2.
and
and
respectively, and
and
35
are obtained by
36
Figure 4-2: The perturbation of a linear SAR ADC (with optimal bit weights).
[27]
Figure 4-3: The perturbation of a nonlinear ADC (with error in the MSB bit
weight only). [27]
(4.3)
(4.4)
36
37
where
) defines the
bit weight,
Equation (4.3) and (4.4) calculate the weighted sums of all bits of
and
. With
where
and
(4.5)
desired value of
and
. Similarly the
is
(
(4.6)
where Q() is ideal quantization. Assuming optimal bit weights are learnt, Equation
(4.1) holds. Putting Equation (4.1) and
obtained. The superposition property of the linear transfer curve shown in Figure 39 holds in this case. Otherwise, the non-zero error indicates the nonlinearity in the
transfer curve, as depicted in Figure 3-10. Plugging Equations (4.3) and (4.4) into
Equation (4.5) gives,
[ (
)]
(4.7)
, -
,
where
and
, -(
, -
, -
, -)
, -
(4.8)
(4.9)
and
cancelled in
37
38
38
39
40
Chapter 5
Design and Implementation of
Redundancy SAR ADC with Digital
Background Calibration
In Chapter 4, the perturbation based calibration algorithm that is able to utilize the
redundancy information to digitally correct output code was introduced. The
superposition principle in which the calibration is based on was explained first.
Then the calibration algorithm was described in details. From that, its advantages
and disadvantages compare to other algorithms also was discussed.
In this chapter, the real implementation of a redundant SAR ADC is
described. In the first part, the implementation at the architectural level will be
focused on. All the circuit blocks are combined and how all these blocks work
together is analyzed carefully. The next part of the chapter describes the design at
the circuit level with discussion of several new contributions. Firstly, DAC
switching scheme that is able to achieve higher energy efficiency than conventional
switching schemes will be presented. Secondly, some circuit blocks such as
bootstrapped switch, comparator, preamplifier will be described. A new way to
implement the dynamic threshold comparison which requires less area is proposed
in this part. And the last once, an enhanced digital calibration circuit which require
less hardware resource compare to [4] is introduced.
5.1. Architecture
The architecture of overall ADC is shown in Figure 5-1. Its operation can be
described as follow. A single SAR ADC digitizes each analog sample twice, with
40
41
and
and
SAR ADC
Vin
and
+.
D +, D -
Calibration
Engine
+a, -a
is added to the
the first comparison without switching any capacitor. Depend on the comparator
output, the largest capacitor on the higher voltage potential side is switched to
ground while the other one (on the lower side) remains unchanged. Then, the
comparator continues comparing and the switch
or
procedure is repeated until the LSB is decided and the raw 14 bit of
After that, all capacitors are reset to
to the ground.
41
is obtained.
is begun. The
42
Vref
S12p S 11p S 10p
C 12 C 11 C 10
S 7p
C7
S 2p S 1p S 0p
C2 C1 C0 C0
C tp
V+
V i+
V iBootstrapped
switch
SAR
Control Logic
V-
preamplifier
C 12 C 11 C 10
S12n S 11n S 10n
C7
S 7n
C tn
C2 C1 C0 C0
S 2n S 1n S 0n
clk
Vref
Dynamic
threshold
comparison
Signal
injection
and
and
(from 14-bit
SAR ADC
Vin
d+ - d w
+a, -a
d+ - d 2
2d
LMS
error
42
43
the top array and, the opposite is done for the bottom array. The total energy
consumption for this operation is
comparing the voltage on the plus and minus nodes of the comparator. Then the
switching scheme either takes the up or down transitions depending on whether
the bit is 0 or 1, respectively. The procedure is repeated until the LSB is
decided.
43
44
Figure 5-5: The top-plate waveform when using the conventional switching
algorithm [3]
Observing the first two transitions, it can be seen that energy efficiency can
be improved. In the above example, the sign bit of the input signal is generated by
comparing the magnitude of
and
45
Figure 5-4, depending on the values of the input signal, there are a total of four
potential transition paths that the SAR algorithm can take. Assume that the upper
most path is taken, the first step makes up more than 75% of the total energy
consumption to just generate the sign bit. Intuitively, without consuming any
energy, the sign bit can be generated by directly comparing
and
after
sampling. It implies that simpler algorithm can be developed to avoid this energy
loss.
The average switching energy of an n-bit conventional switching algorithm
can be derived as follows:
(5.1)
and
. Depending on the comparator output, the MSB capacitor on the higher voltage
potential side is charged to ground while the other one (on the lower side) remains
connected to
. The procedure is repeated until the LSB is decided. For each bit
generation cycle, only one capacitor is switched, which reduces both charge transfer
in the capacitive DAC network and the transitions of the control circuit, resulting in
smaller power dissipation.
Figure 5-6 shows the top-plate waveform for a 6-bit ADC using the
monotonic switching algorithm. The major differences between this algorithm and
the conventional one is that the common-mode voltage of the reference DAC
gradually decreases from half to ground but never increases. For an n-bit ADC, the
sum of all capacitors in a DAC is
Figure 5-7 shows 3-bit examples of the monotonic switching algorithm. This
switching algorithm consumes no energy before the first comparison since the
comparator directly performs the first comparison without switching any capacitor.
In contrast, the conventional one consumes
45
46
(5.2)
Figure 5-6: The top-plate waveform when using the monotonic switching
algorithm [3]
Summary and Comparison of the Monotonic Switching Algorithm with
conventional and other algorithms
The average energy consumption of the five switching schemes versus
different number of bits is shown in Figure 5-8 [3]. The common figures of merit
that are used to evaluate switching algorithms are shown in Table 5-1 [3]. From this
table, in terms of some figures of merit such as the total number of switches,
whether the switching scheme allowing rail-to-rail input swing, total capacitance,
common mode remaining fixed during the conversion process, and energy
consumption, the IMCS and MCS algorithm are the best. However, they require
additional voltage source to provide common mode voltage, which results in the
necessary of another circuit (which will consume quite a lot power) to generate this
voltage. Therefore, in this work, the monotonic switching algorithm will be chosen
because of its efficient and non-requirement of additional voltage source.
46
47
47
48
search ranges are sub-binary, eliminating the extra decoding effort and circuit
complexity.
49
Capacitor
Value (fF)
1715
922
496
266
143
77
41
22
12
6
3
2
1
through
is higher than
and
) is sampled by
, node B is charged to
(node A) are
(node C) is charged to
is cut off by
, and
and
and
. Through
. Meanwhile,
is here to help
to keep
is
on
) of
is now a constant
50
which is (
(
) and on-resistance
(5.3)
)
(
(5.4)
VDD
Clk_d+
M7
M3
C
M 10
M4
M6
Clk_d+
M9
A
M1
M5
CS
MS
V+ ( V-)
Clk_d+
V i+ ( V i-)
M8
C DAC
Because a dynamic comparator does not consume static current, it is suitable for
energy efficient design, and is less sensitive to substrate noise. The operation of the
comparator can be described as follow. At the rising edge of the control signal sent
by SAR control (Clkc), both comparator outputs are reset to high. As Clkc goes to
low (assume that
and the current in
),
and
.
51
increase. This
differential outputs are then gated to trigger internal control signal which is
feedback to turn off the comparator for additional power saving.
VDD
VBIAS
Mb
M7
M14
M8
Vp
M1
M2
Vn
M10
M12
Out_p
Out_n
M15
M9
M5 M3
M4 M6
M11
M13
gnd
on
51
52
VBIAS
M11
on
M7
M10
M9
V+
M8
M1
V-
M2
R1
R2
R2
Vp
Out_p
Vn
Out_n
R1
M3
M4
M5
on
M6
In this design, split-output True single Phase Clock (TSPC) flip flop as in
Figure 5-12 is used because of its low power consumption compare to other types of
flip flop. This flip flop uses only single clock and 2 clock transistors, which will
result in small dynamic power consumption. The operation of split-output TSPC
flip flop can be described as follow. When rst signal becomes high, the flip flop is
reset by pulling the gate of
and
up to
and
and
down to
through
and
to the ground (in case D=1, rst=1 and clk=0) to save power. When rst signal is low,
the flip flop operates as normal. When the clk is low,
off. The parasitic capacitor at gate of
and
is turn on while
will be charged to
is turn
or
discharged to ground depend on value of D. When clk changes from low to high,
is off and
and
and
and
will
.
52
53
rst
M r1
M4
M1
Clk
M2
M7
rst
M5
M9
M r3
D
rst
rst
M r5
M r2
M6
M3
rst
M r4
M8
M10
Figure 5-12: Split-output True Single Phase Clock (TSPC) Flip Flop
5.2.5.2.
Clock generator
The role of clock generator block shown in Figure 5-13 is generating the signals
that allow the switches in the DAC work. Its operation can be described as follow.
When the comparator finishes the comparison, both output signals Out_p and Out_n
are not low anymore, but 1 output is high and the other is low. This makes the
signal Ready becomes low to indicate that comparator finish its work. The aclk
signal is pulled low also and then the series of negative edge flip flop will generate
the desire clock signal
The schematic of comparator control circuit is shown in Figure 5.14 a). The
main function of this circuit is to turn off the comparator and preamplifier whenever
the comparison is completed to save power. When the comparator finishes
comparing
and
signal become high and both comparator and preamplifier are turn off.
53
54
VDD
DFF
D
clk 1
DFF
D
clk 2
DFF
D
clk 3
DFF
D
clk 4
DFF
D
clk 5
DFF
D
clk 6
DFF
D
clk 7
DFF
clk 8
DFF
D
clk 9
DFF
D
clk 10
DFF
D
clk 11
DFF
clk 12
comparator
Out_p
ready
Out_n
clk
aclk
a)
Clk_d+
Clk_main
clk
ready
aclk
Rst_local
clk 1
clk 2
clk 3
clk 4
clk11
clk 12
clk13
clk14
b)
Figure 5-13: Clock generator a) Schematic. b) Timing diagram
54
DFF
D
clk 13
clk 14
55
preamplifier
comparator
Vcm+
Out_p
Vcm-
Out_n
ready
on
Clk_main
clks
a)
Clk_main
clk
ready
on
b)
Figure 5-14: Comparator control circuit a) Schematic. b) Timing diagram
5.2.5.4.
The schematic of switch control logic is shown in Figure 5.15 At the rising
edge of
, all
To prevent unnecessary energy consumption and to keep the RC value the same, the
sizes of the first six switch buffers are scaled down according to the driven
capacitances and the buffers of the last three capacitors are unit size ones.
55
56
Clki
Vpi
Q
buffer
Out_p
(Out_n)
D
Vcm+
(Vcm-)
Case 1
Case 2
Clki
Clki
Out_p
Out_p
Vpi
Vpi
Figure 5-15: DAC Control Logic
5.2.5.5.
Therefore, the DTC effect is transient and (1) remains valid. The technique is only
applied to the first seven bits in this design. This ideally results in dynamic error
tolerances of 82, 44, , 2 LSBs for the first seven conversion steps.
56
57
Vref
Clk i
Out_p
(Out_n)
Vcm+
(Vcm-)
Clk i-6
Clk i-7
Figure 5-16: Dynamic threshold comparison circuit
5.2.5.6.
In the block diagram of the calibration engine shown in Figure 5-3, the inner
product blocks operate at the rate of the conversion steps, which is much higher
than operation rate of the two adders and the LMS block. Therefore, the power
consumption of the inner product blocks dominates the power of the calibration
circuits. A folding structure is utilized to exploit natural serial output to implement
the inner product block in digital calibration logic, shown in Figure 5-17. The adder
and the register accumulate either
(
) and this is
or
or
The block diagram of LMS block is shown in Figure 5-18. These block
diagram is used to implement the Equation (4.8) and (4.9). It can be seen that the
value of
and
Update_w.
57
58
D
D
d+
Q
Clk_d +
w13
ready
w12
w11
d+ - d -
MUX
w2
w1
w0
bi
Figure 5-17: Block diagram of the inner product block
b i+
b iw.error
.error
b i+
b i-
Q
Wi
D Q
2 d
Wi
Update_w
Update_w
Figure 5-18: Block diagram of LMS block
58
2 d
59
60
Simulation Results
Chapter 6
Simulation Results
In Chapter 4, the implementation of SAR ADC is introduced. The circuit is present
from architecture level to circuit block level. All the improvements such as the
novel method to implement dynamic threshold comparison and calibration engine
are discussed.
In this chapter, the simulated results of prototype chip will be presented.
Since the nature of least mean square algorithm in calibration engine require a lot of
samples to obtain the optimal bit weights (about 22000 samples in [4]), the
simulation time need to obtain this amount of samples is too large. Normally, other
works fabricate the ADC first and then the calibration engine is implemented in
software or FPGA. By using hardware simulation, large amount of samples are
obtained at only about millisecond. Thus, in this chapter, only simulation results of
SAR ADC without calibration and capacitors mismatches are described. The full
results of SAR ADC with capacitor mismatches will be added later on. The
prototype 12-bit SAR ADC was implemented in a 1.8V, TSMC 0.18m Mixedsignal CMOS technology.
61
Simulation Results
With the sampling rate of 100ksps, the measured output power spectral
densities (PSDs) of the SAR ADC at Nyquist frequency input is shown in Figure 61. The dynamic performance of this ADC is quite good even at Nyquist frequency
input, results in a SNDR and ENOB of 75.8 dB and 12.3 bit, respectively.
61
62
Simulation Results
Figure 6-2: The measured DNL and INL of the SAR ADC
Ref
[4]
[5]
[6]
[7]
This work
Year
2011
2013
2007
2013
--
Source
JSSC
TCAS2
JSSC
JSSC
--
Technology
0.13m
0.35m
0.18m
65nm
0.18m
Supply (V)
1.2V
2.3V
1V
1.2V
1.8V
Resolution (bit)
12
12
12
14
12
Fs (MS/s)
22.5
0.25
0.1
80
0.1
ENOB (bit)
11.3
11
10.5
11.9
12.3
DNL (LSB)
N/A
0.14
0.66
N/A
0.8/-1
INL (LSB)
N/A
0.38
0.68
N/A
2.49/-2.72
0.107
0.025
31.1
0.016
FOM (fJ/C-S)
51.3
209
165
164.7
30.9
62
63
64
Chapter 7
Conclusion and Future Work
7.1. Conclusion
Touch panel for handheld device requires low-speed, high-resolution ADCs
with low-power operation. Among prevalent ADC architectures, SAR ADCs are
favored due to their high energy efficiency. However, the resolution of SAR ADC is
only medium compare to others. With low sampling speed, the nonlinearity of the
SAR ADC is static nonlinearity, which is dominant by the capacitors mismatch. To
deal with this problem, sub-radix 2 SAR ADC architecture combined with
calibration engine is utilized. This combination provides a lot of advantages such as
aggressive unit capacitor downsizing, error tolerant capability and all the
capacitors mismatch coefficients are identified with negligible hardware overhead
and minimal modification of the original ADC circuits to calculate correctly the
output code. Improvements to the calibration engine and dynamic threshold
comparison implementation have been proposed to further improve the linearity as
well as power consumption.
Since the require time for the hold ADC simulation is quite large, only the
prototype 12 bit redundant SAR ADC without capacitor mismatches and calibration
engine has been simulated. The ADC has been implemented in TSMC 0.18m
Mixed-Signal CMOS technology, archives 75.8-dB signal-to-noise-plus-distortion
ratio (SNDR) and maximum DNL and INL errors are +0.8/1LSB and +2.49/
2.72LSB, respectively, at 100ks/s, while dissipating only 15.7-W power from a
1.8-V supply.
64
65
65
Bibliography
[1]
http://www.electronicproducts.com/Sensors_and_Transducers/Image_Sensors_an
d Optical_Detectors/Designing_touch_sensors_in_3D.aspx , last access
on31/3/2014
[2]
[3]
[4]
Wenbo Liu; Pingli Huang; Yun Chiu, A 12-bit, 45-MS/s, 3-mW Redundant
Successive Approximation-Register Analog-to-Digital Converter With Digital
Calibration, Solid-State Circuits, IEEE Journal of, vol. 46, Issue: 11, pp. 2661
2672, Nov. 2011
[5]
Seung-YeobBaek; Jae-Kyum Lee; Seung-TakRyu, An 88-dB Max-SFDR 12bit SAR ADC With Speed Enhanced ADEC and Dual Registers, Circuits and
Systems II: Express Briefs, IEEE Transactions on, vol.60, Issue: 9, pp. 562
566, Sept. 2013
[6]
Verma, N. ; Chandrakasan, A.P. An Ultra Low Energy 12-bit RateResolution Scalable SAR ADC for Wireless Sensor Nodes, Solid-State
Circuits, IEEE Journal of, vol.42, Issue: 6, pp. 1196 1205, June 2007
[7]
[8]
66
[9]
[10] L. Brooks and H.-S. Lee, Background Calibration of Pipelined ADCs Via
Decision Boundary Gap Estimation, IEEE Transactions on Circuits and
Systems I: Regular Papers, vol. 55, pp. 29692979, Nov. 2008.
[11] P. Li, M. Chin, P. Gray, and R. Castello, A Ratio-Independent Algorithmic
Analog-to-Digital Conversion Technique, IEEE Journal of Solid-State
Circuits, vol. 19, pp. 828836, Dec. 1984.
[12] B.-S. Song, M. Tompsett, and K. Lakshmikumar, A 12-Bit 1-MSample/s
Capacitor Error-Averaging Pipelined A/D Converter, IEEE Journal of SolidState Circuits, vol. 23, pp. 13241333, Dec. 1988.
[13] C.-C. Shih and P. Gray, Reference Refreshing Cyclic Analog-to-Digital and
Digital-to-Analog Converters, IEEE Journal of Solid-State Circuits, vol. 21,
pp. 544554, Aug. 1986.
[14] S. Sutarja and P. Gray, A Pipelined 13-Bit 250-KS/s 5-V Analog-to-Digital
Converter, IEEE Journal of Solid-State Circuits, vol. 23, pp. 13161323, Dec.
1988.
[15] S.-Y. Chin and C.-Y. Wu, A CMOS Ratio-Independent and Gain-Insensitive
Algorithmic Analog-to-Digital Converter, IEEE Journal of Solid-State
Circuits, vol. 31, pp. 12011207, Aug. 1996.
[16] Y. Chiu, Inherently Linear Capacitor Error-Averaging Techniques for
Pipelined A/D Conversion, IEEE Transactions on Circuits and Systems II:
Analog and Digital Signal Processing, vol. 47, pp. 229232, Mar. 2000.
[17] H.-S. Lee, D. Hodges, and P. Gray, A Self-Calibrating 15 Bit CMOS A/D
Converter, IEEE Journal of Solid-State Circuits, vol. 19, pp. 813819, Dec.
1984.
[18] L. Jin, D. Chen, and R. Geiger, A Digital Self-Calibration Algorithm for
ADCs Based on Histogram Test Using Low-Linearity Input Signals, in IEEE
International Symposium on Circuits and Systems, 2005. ISCAS 2005, pp.
13781381, May 2005.
67
68
[28] M. De Wit, K.-S Tan, and R. K Hester, A low-power 12-b analog-to digital
converter with on-chip precision trimming, IEEE J. Solid-State Circuits, vol.
28, no. 4, pp.455-461, Apr. 1993.
[29] D. Draxelmayr, A self-calibration technique for redundant A/D converters
providing 16b accuracy, in IEEE Int. Solid-State Circuits Conf., Feb. 1988,
pp. 204-205.
[30] X. Wang, P.-J. Hurst, and S.-H. Lewis, A 12-bit 20-MS/s pipelined ADC
with nested digital background calibration, in Custom Integr. Cicuits Conf.,
Sep. 2003, pp. 409-412.
[31] C. Tsang et al., Background ADC calibration in digital domain, in Custom
Integr. Circuits Conf., Sep. 2008, pp. 301-304.
[32] I. Galton, Digital cancelation of D/A converter noise in pipelined A/D
converters, IEEE Trans. Circuits Syst. II, vol. 47, no. 9, pp. 185-196, Mar.
2000.
[33] C.-C. Liu, S.-J. Chang, G.-Y. Huang, and Y.-Z. Lin, A 0.92mW 10-bit 50MS/s SAR ADC in 0.13-m CMOS process, in Symposium on VLSI
Circuits, pp. 236237, June 2009.
[34] F. Kuttner, A 1.2-V 10-b 20-Msample/s nonbinary successive approximation
ADC in 0.13-mCMOS,inIEEE ISSCC Dig. Tech. Papers, Feb. 2002, pp.
176177.
[35] S. M. Louwsam et al., A 1.35 GS/s, 10 b, 175 mW time-interleaved AD
converter in 0.13-m CMOS,IEEE J. Solid-State Circuits, vol. 43, no. 4, pp.
778786, Apr. 2008.
[36] W. Liu, P. Huang, and Y. Chiu, A 12 b 22.5/45 MS/s 3.0 mW 0.059
CMOS SAR ADC achieving over 90 dB SFDR, in IEEE ISSCC Dig. Tech.
Papers, Feb. 2010, pp. 380381
[37] Z. G. Boyacigiller, B. Weir, and P. D. Bradshaw, An error-correcting 14 b/20
s CMOS A/D converter, in IEEE ISSCC Dig. Tech. Papers, Feb. 1981, pp.
6263
[38] A. M. Abo and P. R. Gray, A 1.5-V, 10-bit, 14.3-MS/s CMOS pipeline
analog-to-digital converter, in IEEE Journal of Solid-State Circuits, vol. 34,
no. 5, pp.599-606, May 1999
69