Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

Data Acquisition ET 228 Chapter
Digital to Analog and Analog to Digital Conversion
Announcements Assignment 8 posted –Due Friday Dec 2 nd. A bit longer than others. Project progress? Dates –Thursday 12/1 review lecture –Tuesday 12/6 project.
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Lecture 9: D/A and A/D Converters
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
1 Analog-to-digital converter Prepared by: Selah al-Battah Mohammed Al-khabbaz Atiyah Alnakhli Ali Dumyati.
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez.
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EE174 – SJSU Lecture #4 Tan Nguyen
EET260: A/D and D/A converters
Analog-to-Digital Converters Prepared by: Mohammed Al-Ghamdi, Mohammed Al-Alawi,
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog Converters
Digital to Analog and Analog to Digital Conversion
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Electronic Devices Ninth Edition Floyd Chapter 13.
Digital to Analog Converters
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
ADC & DAC Signal Conversions.
Chapter 13 Linear-Digital ICs. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Electronic Devices.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Analog to Digital Converters (ADC) 1
Analog to Digital Converter
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
AD/DA Conversion Techniques - An Overview J. G. Pett  Introductory tutorial lecture for :- ‘Analogue and digital techniques in closed-loop regulation.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Analog-to-Digital and Digital-to-Analog Conversion
Analog to Digital Converters
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Figure Analog-to-digital conversion.. Figure The DAC output is a staircase approximation to the original signal. Filtering removes the sharp.
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
Digital-to-Analog Analog-to-Digital
Lecture Notes / PPT UNIT III
Analog-Digital Conversion. Other types of ADC i. Dual Slope ADCs use a capacitor connected to a reference voltage. the capacitor voltage starts at zero.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Electronic Devices and Circuit Theory
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 13 Linear-Digital ICs
Principles & Applications
Quantization and Encoding
Digital-to-Analog Analog-to-Digital
Analog to Digital Converters Electronics Unit – Lecture 7
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Conversation between Analogue and Digital System
Analogue Inputs and Processing
Analog-to-digital converter
Chapter 7 Converters.
 Both data about the physical world and control signals sent to interact with the physical world are typically "analog" or continuously varying quantities.
Presentation transcript:

Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross

Overview Introduction to ADCs Types of ADCs Further Reading: –R.J. Tocci, Digital Systems, Principles and Applications, Prentice Hall (Chapter 10)

Introduction ADC’s The real world is full of analog, continuous signals Microprocessors use digital electronics (encoded with discrete binary values) for processing Analog to Digital Converters (ADC or A/D) convert continuous analog signals to discrete digital numbers – allowing digital electronics to sample real world signals ADC’s are ‘Mixed Signal Devices’ as they combine analog circuits with DSP Reverse of the operation of the DAC (Digital to Analog Converter)

Important Terms Resolution: Smallest analog increment corresponding to a 1 LSB change in conversion Voltage Reference: the voltage against which the input is compared, taken as the full scale voltage Conversion Time: Time required for a complete measurement Number of Bits: Number of bits used to digitally encode the measured signal

Calculations Analog Input = K X Digital Output Resolution = A fs : Analog full scale voltage n: Number of bits Digital Output = Analog Input / K Number of voltage levels = 2 n Number of voltage steps = 2 n -1

Example A 10 bit ADC is used to sample over the range 0 to 5 Volts (V REF+ = 5V, V REF- =0V) What is the step size? –5/ ( )= 4.89mV/step How would 2.1V be encoded? –(2.1/4.89mV) = 429 (Binary: ) What voltage would correspond to 321 being returned by the ADC? –(321) x 4.89mV = 1.57V

Example A 8 bit ADC is used to sample over the range 0 to 2 Volts (V REF+ = 2V, V REF- =0V) What is the step size? –2/ ( )= 7.84mV/step How would 0.5V be encoded? –0.5/7.84mV = 64 (Binary: ) How would 0.75V be encoded? –0.75/7.84mV = 96 (Binary: ) How would 2V be encoded? –2/7.84mV = 255 (Binary: ) What voltage would a code of 5 belong to? –5 x 7.84mV = 39mV What voltage would a code of 190 belong to? –190 x 7.84mV = 1.49V

ADC Interface Signals Data: Digital I/O pins the ADC uses to supply data Start: Pulse high to start conversion EOC (End of Conversion): Typically active low – will pulse low when conversion is complete Clock: Clock used for conversion

Types of ADC’s Flash Ramp-Compare (Integrating) Successive Approximation Sigma-Delta

Flash ADC Flash ADC (AKA Direct or Parallel ADC) uses a linear ladder of comparators to compare many different voltage references at the same time Very fast -> High Bandwidth Requires many comparators – expensive (2n – 1) comparators for n-bit conversion Therefore typically low resolution

Ramp-Compare (Integrating) ADC A comparison voltage V AX is ramped up When the comparison voltage matches the sampled voltage (V A ) the comparator is triggered – the sampled voltage has been determined

Ramp-Compare (Integrating) ADC Two different implementations: –Timing of a charging capacitor –Driving a DAC with a counter

Ramp-Compare (Integrating) ADC Variable Conversion Time (depends when ramp signal matches actual signal) Best case = 1 cycle Worst case = 2 n cycles Average conversion time: 2 n /2 Cycles, where n is the number of bits Slower than Flash, but much less comparators – allows for higher accuracy

Successive Approximation ADC Successive Approximation ADC’s use a binary search to converge on the closest quantisation level Binary search uses a divide and conquer algorithm Binary search: –Select middle element –If too high select middle element of lower group –If too low select middle element of upper group –Repeat until 1 element remains

Successive Approximation ADC Slower than Flash, but far fewer comparators – allows for higher accuracy Constant conversion time: n cycles Each cycle allows the next MSB to be determined 4 Bit SAC Bit 3 = 1 Bit 2 = 0 Bit 1 = 1 Bit 0 = 0

Sigma-Delta ADC Analog input used to drive a Voltage controlled oscillator (VCO) Using a counter and a specified time period the frequency of the VCO can be determined Since the frequency of the VCO is known, the input driving the VCO can be calculated Negative feedback is used to generate the oscillator – which is in the form of a 1 bit serial bit stream

Sigma-Delta ADC Oversampling (more than the minimum sampling rate of 2*fmax) Taking the mean of a series of over sampled measurements increases the resolution One bit (density of ‘1’s and ‘0’s represents the analog voltage)

Summary Analog to Digital converters allow digital electronics to sample real world analog signals Depending on the resolution and bandwidth requirements different methods of performing ADC can be used