SlideShare a Scribd company logo
Analog to Digital
Converters
Anas mujahid
Presentation Outline
Introduction: Analog vs. Digital?
Examples of ADC Applications
Types of A/D Converters
A/D Subsystem used in the
microcontroller chip
Examples of Analog to Digital Signal
Conversion
Successive Approximation ADC
Analog Signals
Analog signals – directly measurable quantities
in terms of some other quantity
Examples:
 Thermometer – mercury height rises as
temperature rises
 Car Speedometer – Needle moves farther
right as you accelerate
 Stereo – Volume increases as you turn the
knob.
Digital Signals
Digital Signals – have only two states. For
digital computers, we refer to binary states, 0
and 1. “1” can be on, “0” can be off.
Examples:
 Light switch can be either on or off
 Door to a room is either open or closed
Examples of A/D Applications
 Microphones - take your voice varying pressure waves in the
air and convert them into varying electrical signals
 Strain Gages - determines the amount of strain (change in
dimensions) when a stress is applied
 Thermocouple – temperature measuring device converts
thermal energy to electric energy
 Voltmeters
 Digital Multimeters
Just what does an
A/D converter DO?
 Converts analog signals into binary words
Two main steps of process
1.Sampling and Holding
2.Quantization and Encoding
ADC Conversion Process
Analog  Digital Conversion
2-Step Process:
 Quantizing - breaking down analog value is a
set of finite states
 Encoding - assigning a digital word or
number to each state and matching it to the
input signal
Step 1: Quantizing
Example:
You have 0-10V
signals. Separate them
into a set of discrete
states with 1.25V
increments. (How did
we get 1.25V? See
next slide…)
Output
States
Discrete Voltage
Ranges (V)
0 0.00-1.25
1 1.25-2.50
2 2.50-3.75
3 3.75-5.00
4 5.00-6.25
5 6.25-7.50
6 7.50-8.75
7 8.75-10.0
Quantizing
The number of possible states that the
converter can output is:
N=2n
where n is the number of bits in the AD converter
Example: For a 3 bit A/D converter, N=23
=8.
Analog quantization size:
Q=(Vmax-Vmin)/N = (10V – 0V)/8 = 1.25V
Encoding
 Here we assign the
digital value (binary
number) to each
state for the
computer to read.
Output
States
Output Binary Equivalent
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Accuracy of A/D Conversion
There are two ways to best improve accuracy of
A/D conversion:
 increasing the resolution which improves the
accuracy in measuring the amplitude of the
analog signal.
 increasing the sampling rate which increases the
maximum frequency that can be measured.
Resolution
 Resolution (number of discrete values the converter can
produce) = Analog Quantization size (Q)
(Q) = Vrange / 2^n, where Vrange is the range of analog
voltages which can be represented
 limited by signal-to-noise ratio (should be around 6dB)
 In our previous example: Q = 1.25V, this is a high
resolution. A lower resolution would be if we used a 2-bit
converter, then the resolution would be 10/2^2 = 2.50V.
CONVERSATION OF
ANALOG TO DIGITAL
SIGNAL
SAMPLING
 Sampling is the process of recording an
analog signal at regular discrete moments of
time.
 The sampling rate fs is the number of
samples per second.
 The time interval between samples is called
the sampling interval
Ts=1/fs.
The signal v(t)=cos(2πft) in Fig. 1 is sampled uniformly with 3 sampling intervals within each signal period T.
Therefore, the sampling interval Ts=T/3 and the sampling rate fs=3f.
The samples from above figure are shown as the sequence v[n] indexed by integer values of n.
NYQUIST THEOREM
 The Nyquist-Shannon sampling theorem states that
“the sampling rate for exact recovery of a signal
composed of a sum of sinusoids is larger than twice
the maximum frequency of the signal”.
 This rate is called the Nyquist sampling rate
fNyquist.
 fs>fNyquist=2fmax(5)
QUANTIZATION
 A sequence of samples like v[n] in Fig. 2 is not a
digital signal because the sample values can
potentially take on a continuous range of values.
 In order to complete analog to digital conversion,
each sample value is mapped to a discrete level
(represented by a sequence of bits) in a process
called quantization.
 In a m-bit quantizer, each quantization level is
represented with m bits, so that the number of
levels equals 2^m.
Overlaid on the samples v[n] from Fig. 2 is a 3-bit quantizer with 8 uniformly spaced quantization levels.
The quantizer approximates each sample value in v[n] to its nearest level value (shown on the left),
producing the quantized sequence vQ[n].
ADC Process
t
Continuous Signal
Sampling & Hold
Measuring analog signals
at uniform time intervals
 Ideally twice as fast as what
we are sampling
Digital system works with
discrete states
 Taking samples from each
location
Reflects sampled and hold
signal
 Digital approximation
ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
 Ideally twice as fast as what
we are sampling
Digital system works with
discrete states
 Taking samples from each
location
Reflects sampled and hold
signal
 Digital approximation
ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
 Ideally twice as fast as what
we are sampling
Digital system works with
discrete states
 Taking a sample from each
location
Reflects sampled and hold
signal
 Digital approximation
ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
 Ideally twice as fast as what
we are sampling
Digital system works with
discrete states
 Taking samples from each
location
Reflects sampled and hold
signal
 Digital approximation
Sampling Rate
Frequency at which ADC evaluates analog signal. As we
see in the second picture, evaluating the signal more often
more accurately depicts the ADC signal.
Aliasing
 Occurs when the input signal is changing much
faster than the sample rate.
For example, a 2 kHz sine wave being sampled
at 1.5 kHz would be reconstructed as a 500 Hz
(the aliased signal) sine wave.
Nyquist Rule:
 Use a sampling frequency at least twice as high
as the maximum frequency in the signal to avoid
aliasing.
Overall Better Accuracy
 Increasing both the sampling rate and the resolution
you can obtain better accuracy in your AD signals.
A/D Converter Types
 Converters
 Flash ADC
 Delta-Sigma ADC
 Dual Slope (integrating) ADC
 Successive Approximation ADC
Flash ADC
 Consists of a series of comparators, each
one comparing the input signal to a unique
reference voltage.
 The comparator outputs connect to the inputs
of a priority encoder circuit, which produces a
binary output
Flash ADC Circuit
How Flash Works
 As the analog input voltage exceeds the
reference voltage at each comparator, the
comparator outputs will sequentially saturate
to a high state.
 The priority encoder generates a binary
number based on the highest-order active
input, ignoring all other active inputs.
ADC Output
Flash
Advantages
 Simplest in terms of
operational theory
 Most efficient in terms
of speed, very fast
 limited only in terms of
comparator and gate
propagation delays
Disadvantages
 Lower resolution
 Expensive
 For each additional
output bit, the number
of comparators is
doubled
 i.e. for 8 bits, 256
comparators needed
Sigma Delta ADC
 Over sampled input
signal goes to the
integrator
 Output of integration is
compared to GND
 Iterates to produce a
serial bit stream
 Output is serial bit
stream with # of 1’s
proportional to Vin
Outputs of Delta Sigma
Sigma-Delta
Advantages
 High resolution
 No precision external
components needed
Disadvantages
 Slow due to
oversampling
Dual Slope Converter
 The sampled signal charges a capacitor for a fixed
amount of time
 By integrating over time, noise integrates out of the
conversion
 Then the ADC discharges the capacitor at a fixed
rate with the counter counts the ADC’s output bits.
A longer discharge time results in a higher count
t
Vin
tFIX tmeas
Dual Slope Converter
Advantages
 Input signal is averaged
 Greater noise immunity
than other ADC types
 High accuracy
Disadvantages
 Slow
 High precision external
components required to
achieve accuracy
Successive Approximation ADC
 A Successive Approximation Register (SAR)
is added to the circuit
 Instead of counting up in binary sequence,
this register counts by trying all values of bits
starting with the MSB and finishing at the
LSB.
 The register monitors the comparators output
to see if the binary count is greater or less
than the analog signal input and adjusts the
bits accordingly
Successive Approximation
ADC Circuit
Output
Successive Approximation
Advantages
 Capable of high speed and
reliable
 Medium accuracy compared
to other ADC types
 Good tradeoff between
speed and cost
 Capable of outputting the
binary number in serial (one
bit at a time) format.
Disadvantages
 Higher resolution
successive approximation
ADC’s will be slower
 Speed limited to ~5Msps
ADC Resolution Comparison
0 5 10 15 20 25
Sigma-Delta
Successive Approx
Flash
Dual Slope
Resolution (Bits)
Type Speed (relative) Cost (relative)
Dual Slope Slow Med
Flash Very Fast High
Successive Appox Medium – Fast Low
Sigma-Delta Slow Low
ADC Types ComparisonADC Types Comparison
Successive Approximation
Example
 10 bit resolution or
0.0009765625V of Vref
 Vin= .6 volts
 Vref=1volts
 Find the digital value of
Vin
Successive Approximation
 MSB (bit 9)
 Divided Vref by 2
 Compare Vref /2 with Vin
 If Vin is greater than Vref /2 , turn MSB on (1)
 If Vin is less than Vref /2 , turn MSB off (0)
 Vin =0.6V and V=0.5
 Since Vin>V, MSB = 1 (on)
Successive Approximation
 Next Calculate MSB-1 (bit 8)
 Compare Vin=0.6 V to V=Vref/2 + Vref/4= 0.5+0.25 =0.75V
 Since 0.6<0.75, MSB is turned off
 Calculate MSB-2 (bit 7)
 Go back to the last voltage that caused it to be turned on
(Bit 9) and add it to Vref/8, and compare with Vin
 Compare Vin with (0.5+Vref/8)=0.625
 Since 0.6<0.625, MSB is turned off
Successive Approximation
 Calculate the state of MSB-3 (bit 6)
 Go to the last bit that caused it to be turned on (In
this case MSB-1) and add it to Vref/16, and
compare it to Vin
 Compare Vin to V= 0.5 + Vref/16= 0.5625
 Since 0.6>0.5625, MSB-3=1 (turned on)
Successive Approximation
 This process continues for all the remaining
bits.
DAC Performance Specifications
 Monotonicity means that the magnitude
of the output voltage increases every time
the input digital code increases.
 Absolute accuracy is the measure of the
DAC output voltage with respect to its
expected value.
51
DAC Performance Specifications
52
DAC Performance Specifications
53
DAC Performance Specifications
 Relative accuracy is the deviation of the
actual from the ideal output voltage as a
fraction of the full-scale voltage.
 Settling time is the time required for the
outputs to switch and settle within ±½ LSB
when the input switches form all 0s to all 1s.
54
DAC Performance Specifications
 Gain error occurs when the output saturates
before reaching the maximum output code.
 Linearity error is the deviation from a straight
line output with increasing digital input codes.
55
DAC Performance Specifications
56
DAC Performance Specifications
57
DAC Performance Specifications
 Differential nonlinearity is the difference
between actual and expected step size
when the input code is changed by 1 LSB.
 Offset error occurs when the DAC output
is not 0 V when the input code is all 0s.
58
DAC Performance Specifications
59

More Related Content

What's hot

SAR ADC's and industrial Applications
SAR ADC's and industrial Applications SAR ADC's and industrial Applications
SAR ADC's and industrial Applications ilker Şin
 
ANALOG TO DIGITAL CONVERTERS
ANALOG TO DIGITAL CONVERTERSANALOG TO DIGITAL CONVERTERS
ANALOG TO DIGITAL CONVERTERS
Harsha Raju
 
Pll ppt
Pll pptPll ppt
Pll ppt
parassini
 
ADC
ADCADC
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
National Engineering College
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadavAnil Yadav
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
Shazid Reaj
 
Introduction to dsp
Introduction to dspIntroduction to dsp
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
wewe mahir
 
Op amp
Op ampOp amp
7.instrumentation amplifier
7.instrumentation amplifier7.instrumentation amplifier
7.instrumentation amplifier
INDIAN NAVY
 
Emi unit iii ppt
Emi unit iii pptEmi unit iii ppt
Emi unit iii ppt
SIVA NAGENDRA REDDY
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
Nidhi Baranwal
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keying
Sunny Kumar
 
Analog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog ConversionAnalog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog Conversion
Kunj Patel
 
Instrumentational Amplifier
Instrumentational Amplifier Instrumentational Amplifier
Instrumentational Amplifier
ZunAib Ali
 
Operational amplifier parameters
Operational amplifier parametersOperational amplifier parameters
Operational amplifier parameters
UshaRani289
 
Line coding
Line coding Line coding
Line coding
Ravindra Rathore
 
Application of operational amplifier
Application of operational amplifierApplication of operational amplifier
Application of operational amplifier
Ahmad Raza
 

What's hot (20)

SAR ADC's and industrial Applications
SAR ADC's and industrial Applications SAR ADC's and industrial Applications
SAR ADC's and industrial Applications
 
ANALOG TO DIGITAL CONVERTERS
ANALOG TO DIGITAL CONVERTERSANALOG TO DIGITAL CONVERTERS
ANALOG TO DIGITAL CONVERTERS
 
Pll ppt
Pll pptPll ppt
Pll ppt
 
ADC
ADCADC
ADC
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadav
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Introduction to dsp
Introduction to dspIntroduction to dsp
Introduction to dsp
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Op amp
Op ampOp amp
Op amp
 
DSP Processor
DSP Processor DSP Processor
DSP Processor
 
7.instrumentation amplifier
7.instrumentation amplifier7.instrumentation amplifier
7.instrumentation amplifier
 
Emi unit iii ppt
Emi unit iii pptEmi unit iii ppt
Emi unit iii ppt
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keying
 
Analog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog ConversionAnalog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog Conversion
 
Instrumentational Amplifier
Instrumentational Amplifier Instrumentational Amplifier
Instrumentational Amplifier
 
Operational amplifier parameters
Operational amplifier parametersOperational amplifier parameters
Operational amplifier parameters
 
Line coding
Line coding Line coding
Line coding
 
Application of operational amplifier
Application of operational amplifierApplication of operational amplifier
Application of operational amplifier
 

Viewers also liked

ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
Robo India
 
Successive Approximation ADC
Successive Approximation ADCSuccessive Approximation ADC
Successive Approximation ADC
ankit_master
 
Extended Context/Extended Media - Class 02
Extended Context/Extended Media - Class 02Extended Context/Extended Media - Class 02
Extended Context/Extended Media - Class 02
Bryan Chung
 
Successive approximation
Successive approximationSuccessive approximation
Successive approximation
Amit Kumar Mohapatra
 
Sigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital ConvertersSigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital Converters
Satish Patil
 
Brochure tourmusicfest f
Brochure tourmusicfest fBrochure tourmusicfest f
Brochure tourmusicfest fTourMusicFest
 
Radio communication
Radio communicationRadio communication
Radio communicationEJThompson
 
Analog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition SystemsAnalog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition Systems
Mathivanan Natarajan
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data Transmission
Bise Mond
 
Phase-Modulation Based 3D technology
Phase-Modulation Based 3D technologyPhase-Modulation Based 3D technology
Phase-Modulation Based 3D technology
Chris Huang
 
2016.10.26 digitalteknikk - adc og dac - studieveiledning for onsdag 26.1...
2016.10.26   digitalteknikk  - adc og  dac - studieveiledning for onsdag 26.1...2016.10.26   digitalteknikk  - adc og  dac - studieveiledning for onsdag 26.1...
2016.10.26 digitalteknikk - adc og dac - studieveiledning for onsdag 26.1...
Sven Åge Eriksen
 
SATELLITE COMMUNICATION SYSTEM
SATELLITE COMMUNICATION SYSTEMSATELLITE COMMUNICATION SYSTEM
SATELLITE COMMUNICATION SYSTEM
Roman M. Vitenberg
 
Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
ARCCORE
 
adc converter basics
adc converter basicsadc converter basics
adc converter basicshacker1500
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
Rania Nabil
 
Modulation Techniques for Mobile Radio
Modulation Techniques for Mobile RadioModulation Techniques for Mobile Radio
Modulation Techniques for Mobile Radio
METHODIST COLLEGE OF ENGG & TECH
 
Autosar software component
Autosar software componentAutosar software component
Autosar software component
Farzad Sadeghi
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital ConverterRonak Machhi
 

Viewers also liked (20)

ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
 
Successive Approximation ADC
Successive Approximation ADCSuccessive Approximation ADC
Successive Approximation ADC
 
Extended Context/Extended Media - Class 02
Extended Context/Extended Media - Class 02Extended Context/Extended Media - Class 02
Extended Context/Extended Media - Class 02
 
Adc f05
Adc f05Adc f05
Adc f05
 
Successive approximation
Successive approximationSuccessive approximation
Successive approximation
 
Sigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital ConvertersSigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital Converters
 
Brochure tourmusicfest f
Brochure tourmusicfest fBrochure tourmusicfest f
Brochure tourmusicfest f
 
Radio communication
Radio communicationRadio communication
Radio communication
 
Modulation
ModulationModulation
Modulation
 
Analog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition SystemsAnalog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition Systems
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data Transmission
 
Phase-Modulation Based 3D technology
Phase-Modulation Based 3D technologyPhase-Modulation Based 3D technology
Phase-Modulation Based 3D technology
 
2016.10.26 digitalteknikk - adc og dac - studieveiledning for onsdag 26.1...
2016.10.26   digitalteknikk  - adc og  dac - studieveiledning for onsdag 26.1...2016.10.26   digitalteknikk  - adc og  dac - studieveiledning for onsdag 26.1...
2016.10.26 digitalteknikk - adc og dac - studieveiledning for onsdag 26.1...
 
SATELLITE COMMUNICATION SYSTEM
SATELLITE COMMUNICATION SYSTEMSATELLITE COMMUNICATION SYSTEM
SATELLITE COMMUNICATION SYSTEM
 
Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
 
adc converter basics
adc converter basicsadc converter basics
adc converter basics
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
 
Modulation Techniques for Mobile Radio
Modulation Techniques for Mobile RadioModulation Techniques for Mobile Radio
Modulation Techniques for Mobile Radio
 
Autosar software component
Autosar software componentAutosar software component
Autosar software component
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 

Similar to Analog to Digital Converters

Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part three
YemaneBayray
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And Actuators
Jinesh Patel
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
Syed Umair
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
Dreamers6
 
ADC_class.pptx
ADC_class.pptxADC_class.pptx
ADC_class.pptx
DinooJoel
 
Amvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsAmvdd Data Converter Fundamentals
Amvdd Data Converter Fundamentals
Niket Chandrashekar
 
Assignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjeeAssignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjee
Soumit Mukherjee
 
Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2Hattori Sidek
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
Varad Manglekar
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
Edhole.com
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog worldIslam Samir
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
Edhole.com
 
Microprocesser
MicroprocesserMicroprocesser
Microprocesser
فرخ شعیب
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptx
Manjunathtv2
 
Fundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.pptFundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.ppt
BEVARAVASUDEVAAP1813
 
86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt
GovindaChandraBehera1
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15John Todora
 
Meeting w10 chapter 3 part 3
Meeting w10   chapter 3 part 3Meeting w10   chapter 3 part 3
Meeting w10 chapter 3 part 3Hattori Sidek
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
Deepak Kumar
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2
Hossam Hassan
 

Similar to Analog to Digital Converters (20)

Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part three
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And Actuators
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
ADC_class.pptx
ADC_class.pptxADC_class.pptx
ADC_class.pptx
 
Amvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsAmvdd Data Converter Fundamentals
Amvdd Data Converter Fundamentals
 
Assignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjeeAssignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjee
 
Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog world
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Microprocesser
MicroprocesserMicroprocesser
Microprocesser
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptx
 
Fundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.pptFundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.ppt
 
86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15
 
Meeting w10 chapter 3 part 3
Meeting w10   chapter 3 part 3Meeting w10   chapter 3 part 3
Meeting w10 chapter 3 part 3
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

Analog to Digital Converters

  • 2. Presentation Outline Introduction: Analog vs. Digital? Examples of ADC Applications Types of A/D Converters A/D Subsystem used in the microcontroller chip Examples of Analog to Digital Signal Conversion Successive Approximation ADC
  • 3. Analog Signals Analog signals – directly measurable quantities in terms of some other quantity Examples:  Thermometer – mercury height rises as temperature rises  Car Speedometer – Needle moves farther right as you accelerate  Stereo – Volume increases as you turn the knob.
  • 4. Digital Signals Digital Signals – have only two states. For digital computers, we refer to binary states, 0 and 1. “1” can be on, “0” can be off. Examples:  Light switch can be either on or off  Door to a room is either open or closed
  • 5. Examples of A/D Applications  Microphones - take your voice varying pressure waves in the air and convert them into varying electrical signals  Strain Gages - determines the amount of strain (change in dimensions) when a stress is applied  Thermocouple – temperature measuring device converts thermal energy to electric energy  Voltmeters  Digital Multimeters
  • 6. Just what does an A/D converter DO?  Converts analog signals into binary words
  • 7. Two main steps of process 1.Sampling and Holding 2.Quantization and Encoding ADC Conversion Process
  • 8. Analog  Digital Conversion 2-Step Process:  Quantizing - breaking down analog value is a set of finite states  Encoding - assigning a digital word or number to each state and matching it to the input signal
  • 9. Step 1: Quantizing Example: You have 0-10V signals. Separate them into a set of discrete states with 1.25V increments. (How did we get 1.25V? See next slide…) Output States Discrete Voltage Ranges (V) 0 0.00-1.25 1 1.25-2.50 2 2.50-3.75 3 3.75-5.00 4 5.00-6.25 5 6.25-7.50 6 7.50-8.75 7 8.75-10.0
  • 10. Quantizing The number of possible states that the converter can output is: N=2n where n is the number of bits in the AD converter Example: For a 3 bit A/D converter, N=23 =8. Analog quantization size: Q=(Vmax-Vmin)/N = (10V – 0V)/8 = 1.25V
  • 11. Encoding  Here we assign the digital value (binary number) to each state for the computer to read. Output States Output Binary Equivalent 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111
  • 12. Accuracy of A/D Conversion There are two ways to best improve accuracy of A/D conversion:  increasing the resolution which improves the accuracy in measuring the amplitude of the analog signal.  increasing the sampling rate which increases the maximum frequency that can be measured.
  • 13. Resolution  Resolution (number of discrete values the converter can produce) = Analog Quantization size (Q) (Q) = Vrange / 2^n, where Vrange is the range of analog voltages which can be represented  limited by signal-to-noise ratio (should be around 6dB)  In our previous example: Q = 1.25V, this is a high resolution. A lower resolution would be if we used a 2-bit converter, then the resolution would be 10/2^2 = 2.50V.
  • 14. CONVERSATION OF ANALOG TO DIGITAL SIGNAL
  • 15. SAMPLING  Sampling is the process of recording an analog signal at regular discrete moments of time.  The sampling rate fs is the number of samples per second.  The time interval between samples is called the sampling interval Ts=1/fs.
  • 16. The signal v(t)=cos(2πft) in Fig. 1 is sampled uniformly with 3 sampling intervals within each signal period T. Therefore, the sampling interval Ts=T/3 and the sampling rate fs=3f.
  • 17. The samples from above figure are shown as the sequence v[n] indexed by integer values of n.
  • 18. NYQUIST THEOREM  The Nyquist-Shannon sampling theorem states that “the sampling rate for exact recovery of a signal composed of a sum of sinusoids is larger than twice the maximum frequency of the signal”.  This rate is called the Nyquist sampling rate fNyquist.  fs>fNyquist=2fmax(5)
  • 19. QUANTIZATION  A sequence of samples like v[n] in Fig. 2 is not a digital signal because the sample values can potentially take on a continuous range of values.  In order to complete analog to digital conversion, each sample value is mapped to a discrete level (represented by a sequence of bits) in a process called quantization.  In a m-bit quantizer, each quantization level is represented with m bits, so that the number of levels equals 2^m.
  • 20. Overlaid on the samples v[n] from Fig. 2 is a 3-bit quantizer with 8 uniformly spaced quantization levels. The quantizer approximates each sample value in v[n] to its nearest level value (shown on the left), producing the quantized sequence vQ[n].
  • 21.
  • 22.
  • 23. ADC Process t Continuous Signal Sampling & Hold Measuring analog signals at uniform time intervals  Ideally twice as fast as what we are sampling Digital system works with discrete states  Taking samples from each location Reflects sampled and hold signal  Digital approximation
  • 24. ADC Process t Sampling & Hold Measuring analog signals at uniform time intervals  Ideally twice as fast as what we are sampling Digital system works with discrete states  Taking samples from each location Reflects sampled and hold signal  Digital approximation
  • 25. ADC Process t Sampling & Hold Measuring analog signals at uniform time intervals  Ideally twice as fast as what we are sampling Digital system works with discrete states  Taking a sample from each location Reflects sampled and hold signal  Digital approximation
  • 26. ADC Process t Sampling & Hold Measuring analog signals at uniform time intervals  Ideally twice as fast as what we are sampling Digital system works with discrete states  Taking samples from each location Reflects sampled and hold signal  Digital approximation
  • 27. Sampling Rate Frequency at which ADC evaluates analog signal. As we see in the second picture, evaluating the signal more often more accurately depicts the ADC signal.
  • 28. Aliasing  Occurs when the input signal is changing much faster than the sample rate. For example, a 2 kHz sine wave being sampled at 1.5 kHz would be reconstructed as a 500 Hz (the aliased signal) sine wave. Nyquist Rule:  Use a sampling frequency at least twice as high as the maximum frequency in the signal to avoid aliasing.
  • 29. Overall Better Accuracy  Increasing both the sampling rate and the resolution you can obtain better accuracy in your AD signals.
  • 30. A/D Converter Types  Converters  Flash ADC  Delta-Sigma ADC  Dual Slope (integrating) ADC  Successive Approximation ADC
  • 31. Flash ADC  Consists of a series of comparators, each one comparing the input signal to a unique reference voltage.  The comparator outputs connect to the inputs of a priority encoder circuit, which produces a binary output
  • 33. How Flash Works  As the analog input voltage exceeds the reference voltage at each comparator, the comparator outputs will sequentially saturate to a high state.  The priority encoder generates a binary number based on the highest-order active input, ignoring all other active inputs.
  • 35. Flash Advantages  Simplest in terms of operational theory  Most efficient in terms of speed, very fast  limited only in terms of comparator and gate propagation delays Disadvantages  Lower resolution  Expensive  For each additional output bit, the number of comparators is doubled  i.e. for 8 bits, 256 comparators needed
  • 36. Sigma Delta ADC  Over sampled input signal goes to the integrator  Output of integration is compared to GND  Iterates to produce a serial bit stream  Output is serial bit stream with # of 1’s proportional to Vin
  • 38. Sigma-Delta Advantages  High resolution  No precision external components needed Disadvantages  Slow due to oversampling
  • 39. Dual Slope Converter  The sampled signal charges a capacitor for a fixed amount of time  By integrating over time, noise integrates out of the conversion  Then the ADC discharges the capacitor at a fixed rate with the counter counts the ADC’s output bits. A longer discharge time results in a higher count t Vin tFIX tmeas
  • 40. Dual Slope Converter Advantages  Input signal is averaged  Greater noise immunity than other ADC types  High accuracy Disadvantages  Slow  High precision external components required to achieve accuracy
  • 41. Successive Approximation ADC  A Successive Approximation Register (SAR) is added to the circuit  Instead of counting up in binary sequence, this register counts by trying all values of bits starting with the MSB and finishing at the LSB.  The register monitors the comparators output to see if the binary count is greater or less than the analog signal input and adjusts the bits accordingly
  • 44. Successive Approximation Advantages  Capable of high speed and reliable  Medium accuracy compared to other ADC types  Good tradeoff between speed and cost  Capable of outputting the binary number in serial (one bit at a time) format. Disadvantages  Higher resolution successive approximation ADC’s will be slower  Speed limited to ~5Msps
  • 45. ADC Resolution Comparison 0 5 10 15 20 25 Sigma-Delta Successive Approx Flash Dual Slope Resolution (Bits) Type Speed (relative) Cost (relative) Dual Slope Slow Med Flash Very Fast High Successive Appox Medium – Fast Low Sigma-Delta Slow Low ADC Types ComparisonADC Types Comparison
  • 46. Successive Approximation Example  10 bit resolution or 0.0009765625V of Vref  Vin= .6 volts  Vref=1volts  Find the digital value of Vin
  • 47. Successive Approximation  MSB (bit 9)  Divided Vref by 2  Compare Vref /2 with Vin  If Vin is greater than Vref /2 , turn MSB on (1)  If Vin is less than Vref /2 , turn MSB off (0)  Vin =0.6V and V=0.5  Since Vin>V, MSB = 1 (on)
  • 48. Successive Approximation  Next Calculate MSB-1 (bit 8)  Compare Vin=0.6 V to V=Vref/2 + Vref/4= 0.5+0.25 =0.75V  Since 0.6<0.75, MSB is turned off  Calculate MSB-2 (bit 7)  Go back to the last voltage that caused it to be turned on (Bit 9) and add it to Vref/8, and compare with Vin  Compare Vin with (0.5+Vref/8)=0.625  Since 0.6<0.625, MSB is turned off
  • 49. Successive Approximation  Calculate the state of MSB-3 (bit 6)  Go to the last bit that caused it to be turned on (In this case MSB-1) and add it to Vref/16, and compare it to Vin  Compare Vin to V= 0.5 + Vref/16= 0.5625  Since 0.6>0.5625, MSB-3=1 (turned on)
  • 50. Successive Approximation  This process continues for all the remaining bits.
  • 51. DAC Performance Specifications  Monotonicity means that the magnitude of the output voltage increases every time the input digital code increases.  Absolute accuracy is the measure of the DAC output voltage with respect to its expected value. 51
  • 54. DAC Performance Specifications  Relative accuracy is the deviation of the actual from the ideal output voltage as a fraction of the full-scale voltage.  Settling time is the time required for the outputs to switch and settle within ±½ LSB when the input switches form all 0s to all 1s. 54
  • 55. DAC Performance Specifications  Gain error occurs when the output saturates before reaching the maximum output code.  Linearity error is the deviation from a straight line output with increasing digital input codes. 55
  • 58. DAC Performance Specifications  Differential nonlinearity is the difference between actual and expected step size when the input code is changed by 1 LSB.  Offset error occurs when the DAC output is not 0 V when the input code is all 0s. 58