Analog to Digital Converters Electronics Unit – Lecture 7

Slides:



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

Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
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.
Analog to Digital Conversion of Sound Adam White.
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
4-Integrating Peripherals in Embedded Systems (cont.)
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
COMP3221: Microprocessors and Embedded Systems
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
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.
Shuvra Das University of Detroit Mercy
Lecture 9: D/A and A/D Converters
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
Quantization Prof. Siripong Potisuk.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Analogue to Digital Conversion
Embedded Systems Development and Applications
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.
Analog-to-Digital Converters Prepared by: Mohammed Al-Ghamdi, Mohammed Al-Alawi,
Chapter 2 Fundamentals of Data and Signals
Introduction to Analog-to-Digital Converters
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
PH4705/ET4305: A/D: Analogue to Digital Conversion
Ph. Farthouat CERN ELEC 2002 ADC 1 Analog to Digital Conversion  Introduction  Main characteristics –Resolution –Dynamic range –Bandwidth –Conversion.
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
LSU 06/04/2007Electronics 61 Data Acquisition Electronics Unit – Lecture 6 Sensors and Transducers Signal conditioning Data sampling and recording.
1 4-Integrating Peripherals in Embedded Systems (cont.)
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
University of Tehran 1 Interface Design Transforms Omid Fatemi.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
High Speed Analog to Digital Converter
Analog/Digital Conversion
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Fundamentals of Audio Production. Chapter 3 1 Fundamentals of Audio Production Chapter Three: Digital Audio.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
EI205 Lecture 13 Dianguang Ma Fall 2008.
Basics of Converter Technology
Chapter 3 Sampling.
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Digital Control Systems Waseem Gulsher
Conversation between Analogue and Digital System
Analog-to-digital converter
COMS 161 Introduction to Computing
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:

Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence of discrete numerical values. Prepared by Jim Giammanco <giamman@rouge.phys.lsu.edu> 03 07 10 14 09 02 00 04 LSU 10/28/2004 Electronics 7

Conversion Methods (selected types, there are others) Ladder Comparison Successive Approximation Slope Integration Flash Comparison LSU 10/28/2004 Electronics 7

Ladder Comparison LSU 10/28/2004 Electronics 7 The counter, through a digital-to-analog converter, produces a stairstep of increasing voltage. At each step the input signal is compared to the current step level. If the input is higher, then continue to step, if the imput is equal or lesser, then stop and read the counter. The count value is then read as the numeric value of the input. Note that the conversion will happen faster for low level inputs and will take longest if the input is near the upper end of the range. LSU 10/28/2004 Electronics 7

Single slope integration Charge a capacitor at constant current Count clock ticks Stop when the capacitor voltage matches the input Cannot achieve high resolution Capacitor and/or comparator Vin Counting time Functions much like ladder comparison, except without the need for the digital-to-analog converter. Therefore is simpler to implement, but with a penalty in accuracy, linearity, and repeatability. Start Conversion Start Conversion S Q Enable - + R N-bit Output C Counter IN Oscillator Clk LSU 10/28/2004 Electronics 7

Successive Approximation Starting with the most significant bit, the input is tested against the output of the digital-to-analog converter, and a “HI or LO” decision is made. In general, the conversion time will be independent of the input level, since all bits have to be tested each time. LSU 10/28/2004 Electronics 7

Flash Comparison If N is the number of bits in the output word…. Then 2N comparators will be required. With modern microelectronics this is quite possible, but will be expensive. Fastest of all since all 2N comparisons take place at once. But think of having to implement 256 comparators for an 8 bit conversion – much more expensive. LSU 10/28/2004 Electronics 7

Slope Integration & Ladder Approximation Cheap but Slow Pro and Cons Slope Integration & Ladder Approximation Cheap but Slow LSU 10/28/2004 Electronics 7

Pro and Cons Flash Comparison Fast but Expensive Slope Integration & Ladder Approximation Cheap but Slow LSU 10/28/2004 Electronics 7

Pro and Cons Successive Approximation The Happy Medium ?? Slope Integration & Ladder Approximation Cheap but Slow Flash Comparison Fast but Expensive Most microcontrollers that incorporate A/D conversion use the successive approximation method since the necessary computer resource is already present. LSU 10/28/2004 Electronics 7

Resolution Suppose a binary number with N bits is to represent an analog value ranging from 0 to A There are 2N possible numbers Resolution = A / 2N LSU 10/28/2004 Electronics 7

Resolution Example Temperature range of 0 K to 300 K to be linearly converted to a voltage signal of 0 to 2.5 V, then digitized with an 8-bit A/D converter 2.5 / 28 = 0.0098 V, or about 10 mV per step 300 K / 28 = 1.2 K per step LSU 10/28/2004 Electronics 7

Resolution Example Temperature range of 0 K to 300 K to be linearly converted to a voltage signal of 0 to 2.5 V, then digitized with a 10-bit A/D converter 2.5 / 210 = 0.00244V, or about 2.4 mV per step 300 K / 210 = 0.29 K per step Is the noise present in the system well below 2.4 mV ? LSU 10/28/2004 Electronics 7

Quantization Noise e.g. 8 bit → 49.8 db, 10 bit → 61.8 db Each conversion has an average uncertainty of one-half of the step size ½(A / 2N) This quantization error places an upper limit on the signal to noise ratio that can be realized. Maximum (ideal) SNR ≈ 6 N + 1.8 decibels (N = # bits) e.g. 8 bit → 49.8 db, 10 bit → 61.8 db Compare the digitization SNR to the SNR of the analog input. It’s foolish to use a 62 db A/D to read a signal has a SNR of just 30 db. LSU 10/28/2004 Electronics 7

Signal to Noise Ratio Recovering a signal masked by noise Some audio examples In each successive example the noise power is reduced by a factor of two (3 db reduction), thus increasing the signal to noise ratio by 3 db each time. In the first example the signal and noise power are approximately equivalent, so the SNR is about 0 db. This means the ratio of (signal plus noise) to (noise) will be about 3 db. This level is generally accepted as the “minimum discernable signal” (MDS) in radio practice. Example 1 Example 2 Example 3 Example 4 LSU 10/28/2004 Electronics 7

Conversion Time Time required to acquire a sample of the analog signal and determine the numerical representation. Sets the upper limit on the sampling frequency. For the A/D on the BalloonSat board, TC ≈ 32 μs, So the sampling rate cannot exceed about 30,000 samples per second (neglecting program overhead) While BalloonSat can sample quite fast, there is limited memory for data storage. 1000 samples per second would fill memory in less than a minute. LSU 10/28/2004 Electronics 7

Data Collection – Sampling Rate The Nyquist Rate A signal must be sampled at a rate at least twice that of the highest frequency component that must be reproduced. Example – Hi-Fi sound (20-20,000 Hz) is generally sampled at about 44 kHz. External temperature during flight need only be sampled every few seconds at most. LSU 10/28/2004 Electronics 7

Human Successive Approximation Converter Activity E7a Do the HuSAC ® a party game for techies... Human Successive Approximation Converter LSU 10/28/2004 Electronics 7

Data Acquisition Using BalloonSat Activity E7b Data Acquisition Using BalloonSat LSU 10/28/2004 Electronics 7