Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.

Slides:



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

Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
EET 252 Unit 6 Analog-to-Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
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. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
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.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
Lecture 9: D/A and A/D Converters
Digital to Analog Converters Alexander Gurney Alexander Pitt Gautam Puri 1.
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.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
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.
EET260: A/D and D/A converters
Digital Signal Processing (DSP) Fundamentals. Overview What is DSP? Converting Analog into Digital –Electronically –Computationally How Does It Work?
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
1 Digital to Analog Converter Nov. 1, 2005 Fabian Goericke, Keunhan Park, Geoffrey Williams.
Electronic Devices Ninth Edition Floyd Chapter 13.
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Digital to Analog Converters
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Analogue Electronics II EMT 212/4
Digital to Analog Converters (DAC) 1
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
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
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Analog to Digital Converters (ADC) 1 Technician Series ©Paul Godin Created April 2008 Last Edit Mar 2015 ADC 1.1.
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
Digital to Analog Converters (DAC) 2 ©Paul Godin Created March 2008.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Analog-to-Digital and Digital-to-Analog Conversion
Digital to Analog Converters (DAC) 3 ©Paul Godin Created March 2008.
Digital Voltmeter (DVM)
Digital to Analog Converter (DAC)
Lecture 2 Analog to digital conversion & Basic discrete signals.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
CMOS Analog Design Using All-Region MOSFET Modeling
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.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Digital Control CSE 421.
Analog-Digital Conversion
Analogue Electronic 2 EMT 212
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 3 Sampling.
Sampling rate conversion by a rational factor
Digital Control Systems Waseem Gulsher
Soutenance de thèse vendredi 24 novembre 2006, Lorient
لجنة الهندسة الكهربائية
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Digital to Analog Converters (DAC)
Conversation between Analogue and Digital System
Introduction to Basic Digital Logic
Analog-to-digital converter
9.3 Analog-to-Digital Conversion
Digital to Analog Converters (DAC) 3
Chapter 7 Converters.
Presentation transcript:

Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008

Introduction ◊There are several methods of converting Analog values to digital values, including: ◊Flash ADC ◊Ramp ADC ◊SAC ADC ADC 2.2

Other Methods of ADC ◊Up/Down Ramp ◊Similar to the Ramp ADC but instead of starting the count at zero for each measurement it increments the counter up or down based on the direction of the analog input. The time it takes for conversion is variable. ◊Voltage-Frequency ADC ◊This device utilizes a Voltage Controlled Oscillator (VCO). The higher the input voltage the higher the output frequency of the VCO. The ADC enables the output of the VCO for a specific period of time and the output of the oscillator is connected to a counter. The result of the count is supplied as the digital value. ADC 2.3

Other Methods of ADC ◊Sigma/Delta ◊Creates an internal bitstream based upon the difference (Delta) between the analog input and a feedback comparator. The running total (Sigma) is reported as the digitized value. Operates at a high internal frequency. See for more information. ADC 2.4

Errors ◊Analog to Digital systems have several possible sources of error. ◊The errors can be the result of: ◊Quantization ◊Noise ◊Slew ◊Under-Sampling ADC 2.5

Quantization Error ◊Quantization errors are a normal occurrence for ADCs. The input voltage will commonly have a value that is between the LSB voltage step and must be rounded up or down. ◊For instance, if the resolution is 20mV per bit and a value of 10 mV is applied, the ADC will interpret this as either 0v or 20 mV, depending on the ADC design. ADC 2.6

Quantization ◊There are several additional quantization issues: ◊If the total number of bits representing the amplitude of the signal is too small the quantization error increases. ◊If the voltage applied to the ADC is not properly compensated then the full range of output values is not used. ADC 2.7

Quantization and Sampling ◊Sampling-Related Quantization Errors ◊Relatively low sampling frequencies can lead to quantization errors ◊If the sampling frequency is slightly different from the analog signal’s frequency (or a harmonic..a factor of the frequency), then the values may not indicate all the peaks and valleys, leading to other harmonics (also see aliasing). ADC 2.8

Not quite perfect...lower sample rate Above: original signal with samples Below: imperfections in the digital output quantization ADC 2.9

Not quite perfect...higher sample rate ADC 2.10

Noise ◊Noise is a factor in analog communications and it causes problems in ADC. ◊The sources for noise are varied and can be somewhat complex. ◊Sources include: ◊External Sources ◊Internal circuit sources ◊Aliasing ADC 2.11

Aliasing ◊Higher quality ADC (and DAC) will contain anti-aliasing filters to remove frequencies that are aliasing (“posing”) as signal. ◊Aliasing occurs when additional frequencies are inadvertently produced in the AD process. ◊For instance, if there are some frequencies present in the original signal that are higher than the Nyquist sample rate, a different lower frequency may appear on the conversion. ◊Aliasing also occurs with adequate sampling frequencies. ADC 2.12

Aliasing with Inadequate Sampling Rate ADC 2.13

Aliasing with an Adequate Sampling Rate ADC 2.14

Noise Sources ◊Analog values are susceptible to noise (an advantage of digital electronics!). This noise causes problems for the AD conversion, as the noise will be included in the conversion process. ◊There are external and internal sources of noise. ◊External: use filters and proper techniques to minimize noise (such as decoupling, isolation, etc) ◊Internal: switching noise occurs with AD converters. Use filters, decoupling and ground isolation. Thermal noise (aka white noise) is caused by a variety of reasons. ◊Other solutions include processing the signal (DSP), injecting additional white noise to help average out the noise and ignoring the LSB. ADC 2.15

Filter ◊The analog input to an ADC should contain a low- pass filter to ensure high frequencies cannot pass and create aliasing problems. ◊Advanced filtering techniques are also employed. These include DSP (Digital Signal Processing) to mathematically analyze and adjust the digital values. ADC 2.16

Gain Error ◊A Gain Error occurs when the ADC produces an output at a different quantization level than desired. The output is linear but the steps are either larger or smaller than they should be. The resolution is poor and there is the possibility of clipping (the binary number stops changing with a change in analog input). The voltage values will be inaccurately represented. Red: Ideal Blue: Error Green: Error Input Volts Binary Code ADC 2.17

Gain Error Red: Ideal Blue: Error Green: Error Typical Causes: wrong V DD /V EE /V reference voltage to the ADC Improper Analog input voltage ADC 2.18

Offset Error ◊An Offset Error occurs when the output has the same voltage per step but the starting voltage is different. Red: Ideal Blue: Error Green: Error Input Volts Binary Code ADC 2.19

Offset Error Red: Ideal Blue: Error Green: Error Typical Causes: Improper ground reference Improper analog voltage range ADC 2.20

Non-Linearity: Non-Monotonic ◊A Monotonic Error occurs when the individual voltage steps are non-linear. Red: Ideal Blue: Error Input Volts Binary Code ADC 2.21

Non-Linearity: Non-Monotonic Red: Ideal Blue: Error Typical Causes: defective ADC wrong outputs measured significant noise on ac input ADC 2.22

Slew ◊Slew represents the maximum rate of change of a signal. Slew rate is measured in V/t. Black: ideal binary step from ADC Grey: binary step from ADC with slew ADC 2.23

Analog Sample & Hold ◊The AD conversion process may be adversely affected when an analog signal changes voltage during conversion. ◊Analog sample & hold circuits are able to capture the analog value and retain it, allowing the ADC to perform the conversion without input changes. ADC 2.24 Analog In Digitally controlled switch Storage Capacitor Analog to ADC

Specification Sheet ◊View the specification sheet for the ADC08 from National Instruments. ◊Definitions: ◊Common-Mode noise is noise that occurs on both conductors at the same time. ◊Ratiometric means measures the ratio, or takes ratio into account when measuring. ADC 2.25

DSP ◊Digital Signal Processors perform operations on the digitized signals including: ◊removing interference, noise and other frequency and transmission effects ◊encoding the values for transmission ◊reconstruct signals by enhancing or decreasing specific frequencies ◊DSPs are complex devices that rely on programming code (algorithms) to perform operations. ADC 2.26

ADC-DAC with DSP Filter ADC DSP DAC DSP Filter ADC 2.27

DSP ◊Analog signals contain noise. Noise can be filtered but sometimes the filtering process can eliminate wanted frequencies. ◊The better means of removing noise is to take an average, as illustrated below as the red line. Analog Signal with Noise ADC 2.28

DSP (a simplified representation) ADC Registers with samples Registers with older samples Multiplier Cumulative adder ADC 2.29

©Paul R. Godin prgodin gmail.com END ADC2 ADC 2.30