Analog to Digital Converters

Similar documents
PHYS225 Lecture 22. Electronic Circuits

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

EEE312: Electrical measurement & instrumentation

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Data Acquisition: A/D & D/A Conversion

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

Cyber-Physical Systems ADC / DAC

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Analog to Digital Conversion

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

Electronics A/D and D/A converters

Outline. Analog/Digital Conversion

UNIT I Circuit Configuration for Linear ICs

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

How do ADCs work? Martin Rowe, Senior Technical Editor -- 7/1/2002 Test & Measurement World

Chapter 2 Signal Conditioning, Propagation, and Conversion

EE251: Tuesday October 10

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

Digital to Analog Conversion. Data Acquisition

Analog to Digital Conversion

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Linear Integrated Circuits

Analog to Digital Conversion

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

Chapter 5: Signal conversion

Analog to digital and digital to analog converters

P a g e 1. Introduction

The need for Data Converters

A-D and D-A Converters

EECS 373 Design of Microprocessor-Based Systems

CHAPTER ELEVEN - Interfacing With the Analog World

Chapter 2 Analog-to-Digital Conversion...

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC

CENG4480 Lecture 04: Analog/Digital Conversions

EECS 373 Design of Microprocessor-Based Systems

Introduction. These two operations are performed by data converters : Analogue-to-digital converter (ADC) Digital-to-analogue converter (DAC)

Data Converters. Lecture Fall2013 Page 1

PC-based controller for Mechatronics System

Biomedical Signals. Signals and Images in Medicine Lecture 1 Dr Nabeel Anwar

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Analog to Digital Converter

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

Menu EEL EEL 3744 A/D and D/A Conversion Process. A-to-D, D-to-A, Part 1

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Lecture 6: Digital/Analog Techniques

Embedded System Hardware

16.2 DIGITAL-TO-ANALOG CONVERSION

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

UNIVERSITY of PENNSYLVANIA DEPARTMENT OF ELECTRICAL AND SYSTEMS ENGINEERING ESE Undergraduate Labs Electrical Circuits and Systems II Laboratory

Lab Exercise 6: Digital/Analog conversion

Design IV. E232 Spring 07

Analog/Digital and Sampling

Digital Design Laboratory Lecture 7. A/D and D/A

System on a Chip. Prof. Dr. Michael Kraft

10. Chapter: A/D and D/A converter principles

Data Conversion and Lab (17.368) Fall Lecture Outline

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016

Analog-Digital Interface

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

Embedded Control. Week 3 (7/13/11)

Data Conversion Circuits & Modulation Techniques. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Lecture 9, ANIK. Data converters 1

Lecture 3: Sensors, signals, ADC and DAC

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

MECE 3320 Measurements & Instrumentation. Data Acquisition

RESIDUE AMPLIFIER PIPELINE ADC

Data Acquisition & Computer Control

Lecture 2. Digital Basics

Design And Simulation Of First Order Sigma Delta ADC In 0.13um CMOS Technology Jaydip H. Chaudhari PG Student L. C. Institute of Technology, Bhandu

Analogue-to-Digital Conversion

SAMPLING AND RECONSTRUCTING SIGNALS

Theoretical 1 Bit A/D Converter

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Basic Operational Amplifier Circuits

Digital control systems

DIGITAL COMMUNICATIONS LAB

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation

IES Digital Mock Test

Electronics II Physics 3620 / 6620

High-Speed Analog to Digital Converters. ELCT 1003:High Speed ADCs

SIGMA-DELTA CONVERTER

Microprocessors & Interfacing

Assoc. Prof. Dr. Burak Kelleci

1 Signals and systems, A. V. Oppenhaim, A. S. Willsky, Prentice Hall, 2 nd edition, FUNDAMENTALS. Electrical Engineering. 2.

Figure 1.1 Mechatronic system components (p. 3)

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

12-Bit Successive-Approximation Integrated Circuit A/D Converter AD ADC80

A Dual-Slope Integration Based Analog-to-Digital Convertor

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

ML PCM Codec Filter Mono Circuit

ENGR 210 Lab 12: Analog to Digital Conversion

A REVIEW ON 4 BIT FLASH ANALOG TO DIGITAL CONVERTOR

An 8-bit Analog-to-Digital Converter based on the Voltage-Dependent Switching Probability of a Magnetic Tunnel Junction

Embedded Systems and Software. Analog to Digital Conversion

MAE334 - Introduction to Instrumentation and Computers. Final Exam. December 11, 2006

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Real Time Embedded Systems. Lecture 1 January 17, 2012

AD9772A - Functional Block Diagram

Computerized Data Acquisition Systems. Chapter 4

Transcription:

Analog to Digital Converters By: Byron Johns, Danny Carpenter Stephanie Pohl, Harry Bo Marr http://ume.gatech.edu/mechatronics_course/fadc_f05.ppt (unless otherwise marked) Presentation Outline Introduction: Analog vs. Digital? Examples of ADC Applications Types of A/D Converters 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. 1

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 Real world (lab) is analog Computer (binary) is digital V Bin From: James Mackey http://www.harding.edu/jmackey/physics350/adc/adc_dac/520converter.ppt 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 2

Just what does an A/D converter DO? Converts analog signals into binary words 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 3

Quantizing The number of possible states that the converter can output is: N=2 n where n is the number of bits in the AD converter Example: For a 3 bit A/D converter, N=2 3 =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. 4

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. 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. 5

Overall Better Accuracy Increasing both the sampling rate and the resolution you can obtain better accuracy in your AD signals. A/D Converter Types By Danny Carpenter Converters Flash 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 6

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 7

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 Dual Slope Converter V in t FIX t meas t 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 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 8

Digital-to-Analog Conversion [DAC] http://www-personal.engin.umd.umich.edu/~jwvm/ece414/powerpoint/8 A-D converter.ppt Digital-to-Analog Conversion When data is in binary form, the 0's and 1's may be of several forms such as the TTL form where the logic zero may be a value up to 0.8 volts and the 1 may be a voltage from 2 to 5 volts. The data can be converted to clean digital form using gates which are designed to be on or off depending on the value of the incoming signal. Digital-to-Analog Conversion Data in clean binary digital form can be converted to an analog form by using a summing amplifier. For example, a simple 4-bit D/A converter can be made with a four-input summing amplifier. 9

R-2R Ladder DAC R-2R Ladder DAC R-2R Ladder DAC The summing amplifier with the R-2R ladder of resistances shown produces the output where the D's take the value 0 or 1. The digital inputs could be TTL voltages which close the switches on a logical 1 and leave it grounded for a logical 0. This is illustrated for 4 bits, but can be extended to any number with just the resistance values R and 2R. 10

Now back to ADC s Successive Approximation ADC By Stephanie Pohl 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 11

Output Successive Approximation Advantages Capable of high speed and reliable Medium accuracy compared to other ADC types Good tradeoff between speed and cost Disadvantages Higher resolution successive approximation ADC s will be slower Speed limited to ~5Msps Capable of outputting the binary number in serial (one bit at a time) format. ADC Types Comparison ADC Resolution Comparison Dual Slope Flash Successive Approx Sigma-Delta 0 5 10 15 20 25 Resolution (Bits) Type Speed (relative) Cost (relative) Dual Slope Slow Med Flash Very Fast High Successive Appox Medium Fast Low Sigma-Delta Slow Low 12

Successive Approximation Example Spreadsheet examples 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 V ref by 2 Compare V ref /2 with V in If V in is greater than V ref /2, turn MSB on (1) If V in is less than V ref /2, turn MSB off (0) V in =0.6V and V=0.5 Since V in >V, MSB = 1 (on) 13

Successive Approximation Next Calculate MSB-1 (bit 8) Compare V in =0.6 V to V=V ref /2 + V ref /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 V ref /8, and compare with V in Compare V in with (0.5+V ref /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 V ref /16, and compare it to V in Compare V in to V= 0.5 + V ref /16= 0.5625 Since 0.6>0.5625, MSB-3=1 (turned on) Successive Approximation This process continues for all the remaining bits. 14