3 Bit ADC PDF
3 Bit ADC PDF
GEAMBLU Clment
4 AE
I-
INTRODUCTION ............................................................................................................................. 1
II-
COMPARATORS: ........................................................................................................................... 2
1.
2.
III1.
2.
SIMPLE COMPARATOR.................................................................................................................... 2
COMPLEX COMPARATOR ................................................................................................................ 3
VOLTAGE DIVIDER: .................................................................................................................. 5
W ITH NMOS.................................................................................................................................. 5
W ITH RESISTOR ............................................................................................................................. 6
IV-
V-
VI-
CONCLUSION........................................................................................................................... 14
VII-
BIBLIOGRAPHY ....................................................................................................................... 14
I- Introduction
We have decided to design an one-step Flash converter. As shown in the schematic below, in
this type of ADC the input signal is compared to the 2 nodes of resistors. At the output of the
comparators, the sampled input value can be read in thermometer-code. At the beginning of this
project, we were novice in circuit designing. Due to the large number of resistors and comparators
(2N1 comparators required), we have chosen to design a 3-bit Flash A/D Converter (7 comparators
required).
We were interested in this type of structure, because there is lots of different components to
design: Resistors, logic gates, operational amplifier.
In this report, we will deal with all this functions, beginning with the design of a comparator.
Next, we will analyze how we can divide a reference voltage in comparison steps. It is required to
decode the thermometer code into binary code. And to conclude, we have decided to add a system to
remove the bubble errors of this ADC.
II- Comparators:
1.
Simple Comparator
We will use the operational amplifiers as comparator. Let us try to build a very simple
comparator:
This comparator is very easy to design, but the test results are not satisfactory. We have
simulated this circuit with two inputs: a sinus with an offset of 0.5V and a continuous signal
Vseuil=0.5V. The results of the test are just above. It is very easy to observe the inefficiency of this
comparison system. It is impossible to reach the 0, and the rise time is obviously too long. That is
why, we had decided to search an other comparator, which would be more efficient.
2.
Complex Comparator
We have decided to do an other comparator, more complex. This comparator introduces a setup of rise time with V-bias.
VDD
VDD
P2
P1
Vbias
N1
VDD
VDD
P3
N5
VDD
P4
P5
N6
VIN+
VIN-
N2
N3
VOUT
N4
V-bias must be included in VTN of transistor and Vdd/2. VTN provide by transistor
characteristic and is approximately 0.2V for optimal functioning.
For our system, V-bias must be included in 0.2V and 0.5V. We choose V-bias=0.3V.
With V-bias=0.2V, we see a long rise time for V-out and impossible to reach the Vdd. This
sample is rejected.
With V-bias=0.9V, Vout is always with long rise time but the signal is more efficient for reach
Vdd. This sample is always rejected.
III-
Voltage Divider:
1.
With nMOS
In a first part, we will analyze a voltage divider realized with nMOS connected as diodes.
The schematic used is this one:
To obtain our voltage divider, we have to choose the same equivalent resistor for both nMOS.
But the equivalent resistance of a nMOS is commensurate with W/L.Dividing by 2 the voltage
requires resizing the nMOS because the polarization of the 2 nMOS are not the same. This type of
circuits uses less area than circuit realized with strips of polysilicon but is not so accurate. With lot of
resizings on W and L, we finally reached Vref = 0.502*Vdd.
This method cant be used with more than 3 CMOS connected as diode because of the
substrate voltage VTN = 0.2V. In our application, we want to divide by 8 the input voltage (1 Volt). So
much, this is very impossible to modify each transistor to generate the same quantum. That is why it
will be impossible to use this method to obtain a voltage divider.
Let us try with a classical circuit: 8 resistors serially connected. Each one had the same value.
We also reach to divide by 8 the input voltage with a fine accuracy.
2.
With resistor
We use the circuit opposite on left as add a
same quantum as VPE. The value of resistors that we
use is the same and R1=R2=R=R=1Kohms. The
simulation is opposite on right.
Vcc
R8
a6
R7
a5
R6
a4
R5
a3
R4
a2
R3
a1
R2
a0
R1
IV-
Bubble Errors.
Incorrect comparator output signals caused by comparator metastability, noise, etc. lead to
faulty thermometer-code representation. This phenomenon, a 1 appearing between zeros or a 0
appearing between ones close to the transition between 0 and 1 is called bubble error. Most of this
bubble error can be removed by using three-input NAND gates (see fig. below).
A one appearing between two 0 caused no mistakes at the output stage. Let us apply this
method on our system:
Initially 1, the outputs of the comparators switched to 0 when the input voltage increase.
A correspond to the LSB and G to the MSB.
Yet, we have to design an inverter and a three-input NAND gate. Let's begin with the inverter.
The principle is easy. A nMOS and a pMOS connected together with a common gate.
Now, we will design a 3-input NAND gate. The circuit is composed of 3 nMOS and 3 pMOS.
The results meet the requirements. The output signal had a very short rise time. The 0 and the
1 are perfectly reached.
Yet, we connect the input and simulate. At the output of the NAND gates, we observe an
inverted step while the input signal is in the interval.
From these results, we can build this truth table, which links the outputs of the comparators
and binary code:
S2
S1
S0
g
f
S2
S2 = d e f g = d e + f g
S1 = b c f g = b c + f g
S0 = a c e g = a c + e g
S1
S0
For more than 3 inputs, it is better to combine 2 or 3 input NAND gates. In this case, we will
use two NAND gates and an OR gate in order to realize an equivalent to a 4-input NAND gate.
The result of the combination of 2 NAND and an OR gate are the same as a 4-input NAND
gate. The final design of this part is :
10
Without error, the output is correct. The word (S2-S1-S0) is increasing while Vin increases.
The outputs of the comparators switched to 0 as soon as VIN become higher than the comparison
voltage. But the aim of this circuit is to remove bubble-errors too. We will simulate a defect
comparator (Ve on Simulation, which never switched to 0).
11
We observe that the word (S2-S1-S0) contained an error exclusively when Vin is between Ve
and Vf. Without error, the maximal error between the input signal and the output is Quantum/2. When
an error occurred, we reach a maximal error of (3*Quantum) /2.
12
Comparators
Stage
Bubble Error
Stage
Voltage Divider
Stage
Thermometer
Code Stage
13
The basic function of our circuit is accomplished. While Vin is increasing, the word (S2-S1S0) counts up. There are some glitches during the transitions. Slightly different delays lead to a
momentarily erroneous output value.
A way to suppress glitches is adding a Sample and Hold circuit at the output or to recover the
conversion value after signal is stable.
VI-
Conclusion
The dimension of the final circuit are: 11,375 um *16,05 um. We are impressed with this
small area. In the industry, one-step Flash converters are not used because of the too large number of
comparators. We designed a one-step Flash ADC with anti-bubble error system contained in 183 um.
This project was really rewarding and permitted us to manipulate the practical purpose of
CMOS. We have learnt how design the CMOS cell for optimal working, how modify parameters
which influence on system. So this project was a good experience for us.
VII- Bibliography
Basic CMOS Cell Design By Etienne SICARD and Sonia DELMAS BNDIA
Advanced CMOS Cell Design By Etienne SICARD and Sonia DELMAS BNDIA
Mixed-Signal Electonic by Prof. Dr Doris Schmitt-Landsiedel.
14