Sar Adc
Sar Adc
Submitted by:
Umair Asghar
Muhammad Hunzilah Ahmad Sheikh
Muhammad Hassan
0
Complex Engineering Problem
1
1/8/21
Table of Contents
Abstract ................................................................................................................................ 3
Analog to Digital Converter:................................................................................................... 3
Successive Approximation type ADC: .................................................................................................. 4
Components:............................................................................................................................................ 4
Block Diagram: ....................................................................................................................................... 5
Working Principle: ................................................................................................................................. 5
What is Resolution: ................................................................................................................................. 6
Flow Diagram:......................................................................................................................................... 7
Example of Successive approximation type 8-bit ADC: ........................................................... 7
Output waveform according to the input voltage: ............................................................................... 9
Circuit diagram ...................................................................................................................... 9
Comparison with other techniques of A/D convertor ........................................................... 10
Comparison-1: Required characteristics ............................................................................................ 10
Comparison-2: Conversion Method .................................................................................................... 10
Comparison-3: Encoding Methods ...................................................................................................... 11
Comparison-4: Disadvantages ............................................................................................................. 11
Comparison-5: Conversion time .......................................................................................................... 11
Comparison-6: Size ............................................................................................................................... 12
Comparison-7: Resolution.................................................................................................................... 12
2
Abstract
In this Report an analog to digital convertor of 8 bits is described using successive approximation
technique. It is explained by using an example with its output waveform. And in the last this
technique is compared with other methods of A/D conversions.
Analog to Digital Converter (ADC) is an electronic integrated circuit used to convert the analog
signals such as voltages to digital or binary form consisting of 1s and 0s.
Figure 1 An ADC
Most of the ADCs take a voltage input as 0 to 10V, -5V to +5V, etc. and correspondingly
produces digital output as some sort of a binary number.
3
Successive Approximation 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. 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. A successive approximation ADC takes as many clock cycles
as there are output bits to perform a conversion.
Components:
The following basic components are used for the circuit of successive approximation A/D
convertor
• Sample and hold circuit
• A comparator
• Successive Approximation register (N-bit SAR)
4
Block Diagram:
Note:
Here, MSB = a7 and LSB = a0. At SOC (Start of Conversion) an impulse is applied to start A/D
conversion. At EOC (End of Conversion) an impulse is given by the SAR to tell the system that
the conversion has stopped.
Working Principle:
The principle of successive approximation process for 8-bit conversion is explained here. This
type of ADC operates by successively dividing the voltage range by half, as explained in the
following steps.
(1) The MSB is initially set to 1 with the remaining SEVEN bits set as 0000000. The digital
equivalent voltage is compared with the unknown analog input voltage.
5
(2) If the analog input voltage Vin is higher than the digital equivalent voltage Vd, 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.
𝒂𝟎 𝒂𝟏 𝒂𝟐 𝒂𝟑 𝒂𝟒 𝒂𝟓 𝒂𝟔 𝒂𝟕
𝑽𝒅 = 𝑽𝒓𝒆𝒇 + + + + + + +
𝟐𝟓𝟔 𝟏𝟐𝟖 𝟔𝟒 𝟑𝟐 𝟏𝟔 𝟖 𝟒 𝟐
What is Resolution:
The resolution of an ADC is determined by the reference input and by the word width. The
resolution defines the smallest voltage change that can be measured by the ADC. As mentioned
earlier, the resolution is the same as the smallest step size, and can be calculated by dividing the
reference voltage (maximum voltage that ADC can take as input) by the number of possible
conversion values. The only way to increase resolution without reducing the range is to use an
ADC with more bits.
6
Flow Diagram:
6 Conversion Diagram
7
Now Vin = 11.5V < Vd = 12V
Here now, the unknown analog input voltage Vin is lower than the equivalent digital voltage Vd.
As discussed in step (2), the second MSB is set to 0 and next MSB set to 1 as [10100000]2
Ans: Hence the input voltage 11.5 V in successive approximation ADC with 16V-DAC, we get
the digital(binary) output 10111000
11000000 10011100
Vin>Vd
Vin<Vd Vin>Vd
10110000
10000000
Vin>Vd
10100000
8
Output waveform according to the input voltage:
VDAC
16V
Vin=11.5V
8V
time
1 2 3 4 5 6 7 8
Circuit diagram
9
Comparison with other techniques of A/D convertor
Further practices used for A/D convertor including successive approximation method, includes:
• Flash ADC
• Sigma Delta ADC
• Pipelined ADC
Pipeline For High speeds, few MSPS to 100+ MSPS, 8 bits to 16 bits, lower power
Pipeline Small parallel structure, each stage work on one to a few bits.
10
Comparison-3: Encoding Methods
Flash ADC Thermometer Code Encoding
Comparison-4: Disadvantages
Flash ADC Sparkle codes / metastability, high power consumption, large size,
expensive.
Sigma-Delta Higher order (4th order or higher) - multibit ADC and multibit feedback
DAC
Sigma-Delta Tradeoff between data output rate and noise free resolution
11
Successive Increases linearly with increased resolution
Approximation
Tc = N x Tclk ; N : No. of bits of ADC )
Comparison-6: Size
Flash ADC 2^N-1 comparators, Die size and power increases exponentially with
resolution
Sigma-Delta Core die size will not materially change with increase in resolution
Comparison-7: Resolution
Flash ADC Component matching typically limits resolution to 8 bits
12