ADC Unit 5
ADC Unit 5
Code: (4EC4-04)
Unit: 5
2
Block diagram
3
Resolution
4
Why ADC is needed
5
Application of ADC
• ADC are used virtually everywhere where
an analog signal has to be processed,
stored, or transported in digital form.
• The output of a microphone, the voltage at
a photodiode or the signal of an
accelerometer are examples of analog
values that need to be converted so that a
microprocessor can work with them.
• Some examples of ADC usage are digital
voltmeters, cellphone, thermocouples, and
digital oscilloscope.
6
TYPES OF ADC
7
COUNTER TYPE ADC
11
12
ADVANTAGES & DISADVANTAGES
14
Circuit diagram
▪ The circuit
diagram of a
3-bit flash
type ADC is
shown in the
following
figure-
15
Fig.3 Circuit diagram of Flash type ADC
WORKING
17
WORKING…
18
ADVANTAGES
Advantages of Flash type ADC
▪ It is the fastest type of ADC because the
conversion is performed simultaneously
through a set of comparators, hence referred
as flash type ADC. Typical conversion time is
100ns or less.
▪ The construction is simple and easier to
design
19
DISADVANTAGES
20
SAR Type ADC
SAR Type ADC
• Successive Approximation type ADC is the most
widely used and popular ADC method. The
conversion time is maintained constant in
successive approximation type ADC, and is
proportional to the number of bits in the digital
output, unlike the counter and continuous type
A/D converters.
• The basic principle of this type of A/D converter
is that the unknown analog input voltage is
approximated against an n-bit digital value by
trying one bit at a time, beginning with the MSB.
The principle of successive approximation
process for a 4-bit conversion is explained here.
Working
• The MSB is initially set to 1 with the
remaining three bits set as 000. The digital
equivalent voltage is compared with the
unknown analog input voltage.
• If the analog input voltage is higher than
the digital equivalent voltage, the MSB is
retained as 1 and the second MSB is set to
1.
• Otherwise, the MSB is set to 0 and the
second MSB is set to 1. Comparison is
made as given in step (1) to decide whether
to retain or reset the second MSB.
Working..
• The above steps are more accurately
illustrated with the help of an example.
Let us assume that the 4-bit ADC is used
and the analog input voltage is VA = 11 V.
when the conversion starts, the MSB bit is
set to 1.
25
• Now again VA = 11V > VD = 10V =
[1010]2
Again as discussed in step (2) VA>VD,
hence the third MSB is retained to 1
and the last bit is set to 1. The new
code word is
VD = 11V = [1011]2
Dual slope type ADC
32
• The dual ramp output waveform is
shown below.
• Since ramp generator voltage starts at 0V,
decreasing down to –Vs and then increasing
up to 0V, the amplitude of negative and
positive ramp voltages can be equated as
follows.
∴Vref/RC×t2=-VA/RC×t1
∴t2=-t1×VA/Vref
∴VA=-Vref×t1/t2
• Thus the unknown analog input voltage VA is
proportional to the time period t2, because Vref
is a known reference voltage and t1 is the
predetermined time period.
The actual conversion of analog voltage VA into a
digital count occurs during time t2. The binary
counter gives corresponding digital value for time
period t2. The clock is connected to the counter
at the beginning of t2 and is disconnected at the
end of t2. Thus the counter counts digital output
as
• Let t2 = n Tclk
• We know that t1 = 2𝑛 Tclk
• t2=-t1×VA/Vref
• Digital Output = n= 2𝑛 * VA/V ref
36