Analog to Digital Converter. Last updated 7/27/18

Similar documents
Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen

Analog to Digital Conversion

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

Experiment 9 Analog/Digital Conversion

Analog-to-Digital Conversion

Introduction to Mechatronics. Fall Instructor: Professor Charles Ume. Analog to Digital Converter

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

EECS 373 Design of Microprocessor-Based Systems

Embedded System Hardware

Converting between Analog and Digital Domains

Digitization: Sampling & Quantization

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

Copyright. Robert Alexander Fontaine

Digital Representation

Digitizing and Sampling

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Analog Input & Output

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

CMPT 365 Multimedia Systems. Mid-Term Review

International Journal of Engineering Research-Online A Peer Reviewed International Journal

Chapter 14 D-A and A-D Conversion

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Dithering in Analog-to-digital Conversion

Note 5. Digital Electronic Devices

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Crash Course in Digital Signal Processing

Experiment 2: Sampling and Quantization

Experiment 13 Sampling and reconstruction

BER MEASUREMENT IN THE NOISY CHANNEL

successive approximation register (SAR) Q digital estimate

How advances in digitizer technologies improve measurement accuracy

Clock Jitter Cancelation in Coherent Data Converter Testing

«Trends in high speed, low power Analog to Digital converters»

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

LOW POWER DIGITAL EQUALIZATION FOR HIGH SPEED SERDES. Masum Hossain University of Alberta

PHYS 3322 Modern Laboratory Methods I Digital Devices

Data Conversion and Lab (17.368) Fall Lecture Outline

Converters: Analogue to Digital

Decade Counters Mod-5 counter: Decade Counter:

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Understanding Sampling rate vs Data rate. Decimation (DDC) and Interpolation (DUC) Concepts

Manual Version V1.02

ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS

QUIZ. Explain in your own words the two types of changes that a signal experiences while propagating. Give examples!

10:15-11 am Digital signal processing

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

MACROVISION RGB / YUV TEMP. RANGE PART NUMBER

3 V/5 V, 450 μa 16-Bit, Sigma-Delta ADC AD7715

UNIT V 8051 Microcontroller based Systems Design

Multirate Digital Signal Processing

CPE 400L Computer Communication Laboratory. Laboratory Exercise #9 Baseband Digital Communication

Experiment 7: Bit Error Rate (BER) Measurement in the Noisy Channel

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

Tutorial on Technical and Performance Benefits of AD719x Family

Chapter 6: Real-Time Image Formation

DIGITAL ELECTRONICS MCQs

Low Power, 16-Bit Buffered Sigma-Delta ADC AD7790

Introduction to Computers and Programming

DATASHEET HMP8154, HMP8156A. Features. Ordering Information. Applications. NTSC/PAL Encoders. FN4343 Rev.5.00 Page 1 of 34.

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

Digitally Assisted Analog Circuits. Boris Murmann Stanford University Department of Electrical Engineering

Specifications for Thermopilearrays HTPA8x8, HTPA16x16 and HTPA32x31 Rev.6: Fg

Lesson 2.2: Digitizing and Packetizing Voice. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations

Machinery Fault Diagnosis and Signal Processing Prof. A R Mohanty Department of Mechanical Engineering Indian Institute of Technology-Kharagpur

Signal Processing. Case Study - 3. It s Too Loud. Hardware. Sound Levels

DIGITAL COMMUNICATION

MSP430 Teaching Materials

CPE 310L EMBEDDED SYSTEM DESIGN (CPE)

Scanning A/D Converters, Waveform Digitizers, and Oscilloscopes

ADC16 Calibration Procedure and Programmable Delay Block Synchronization For MC9S08GW64

SUBSYSTEMS FOR DATA ACQUISITION #39. Analog-to-Digital Converter (ADC) Function Card

A Kind of Seabed Seismic Data Acquisition Cell for Acoustic Measurement

Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used

Maintenance/ Discontinued

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Real-Time Sampling Downconverter Front Ends for Digital Radar and Wide-Band Signaling

WINTER 15 EXAMINATION Model Answer

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

CS311: Data Communication. Transmission of Digital Signal - I

Progressive Image Sample Structure Analog and Digital Representation and Analog Interface

CS3350B Computer Architecture Winter 2015

The Successive Approximation Converter Concept - 8 Bit, 5 Volt Example

Analog-to-Digital Conversion (Part 2) Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Audio Processing Exercise

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

A/D and D/A convertor 0(4) 24 ma DC, 16 bits

Sound technology. TNGD10 - Moving media

Module 8 : Numerical Relaying I : Fundamentals

Digital Fundamentals. Introduction to Digital Signal Processing

Major Differences Between the DT9847 Series Modules

FUNCTIONAL BLOCK DIAGRAM DV DD DGND REFIN(+) REFIN( ) REFERENCE DETECT AIN1 AIN2 AIN3 AIN4 AINCOM DOUT/RDY DIN SCLK CS SYNC BPDSW MUX PGA Σ-Δ ADC

Analog and Digital. ICT Foundation. Copyright 2010, IT Gatekeeper Project Ohiwa Lab. All rights reserved.

Delta-Sigma Modulators

Audio and Other Waveforms

Design and VLSI Implementation of Oversampling Sigma Delta Digital to Analog Convertor Used For Hearing Aid Application

BASE-LINE WANDER & LINE CODING

Digital Effects Pedal Description Ross Jongeward 10 December 2014

EarStudio: Analog volume control. The importance of the analog volume control

Transcription:

Analog to Digital Converter Last updated 7/27/18

Analog to Digital Conversion Most of the real world is analog temperature, pressure, voltage, current, To work with these values in a computer we must convert them into digital representations Three steps to this conversion Sampling Quantizing Encoding 2 tj

Sampling A to D Conversion takes a finite amount of time What if the input changes during this time? We must take a snapshot of the input Sample and Hold Vin Sample Vout 3 tj

Sampling Sampling is a kind of MODULATION Modulation systems are subject to Aliasing Fin < fs/2 Frequency 0 Fs: Nyquist rate LPF the input (anti-aliasing filter) Frequency 0 fs Frequency 0 fs 4 tj

Sampling Example of analog aliasing http://arstechnica.com/features/2007/11/audiofile-analog-to-digital-conversion/ 5 tj

Sampling Example of digital aliasing http://www.cs.unm.edu/~brayer/vision/perception. html 6 tj

Quantizing In the A to D process we are converting an infinite resolution analog signal into a finite number of digital bits Converters use reference voltages to set the range of allowed input voltages - Vref-H, Vref-L Each binary step represents (V ref-h V ref-l ) / 2 n for an n bit conversion e.g. 0V 1V input converted to 3 bit digital value each binary step represents 0.125V since 000 typically represents 0.0V, 111 represents 0.875V 7 tj

Quantizing Quantization error looks like noise on the signal (Quantization Noise) Dynamic Range is a measure of signal to noise ratio. (SNR in db) For an AtoD the Dynamic Range is the measure of signal to Quantizing Noise ratio (SQNR) SQNR = 20 log 10 (2 n /(1/2 (-1/2)) = 20 log 10 2 n 8bit 48dB 10bit 60dB n steps Step Size rel to Vref-H - Vref-L SQNR (db) 1 2 0.5 6 2 4 0.25 12 3 8 0.125 18 4 16 0.0625 24 5 32 0.03125 30 6 64 0.015625 36 7 128 0.0078125 42 8 256 0.00390625 48 9 512 0.001953125 54 10 1024 0.000976563 60 11 2048 0.000488281 66 8 12 4096 0.000244141 72 tj

Conversion Example 10 bit converter with VrefH=3.0V, VrefL=0.0V If the input is 2V, what is the output code VrefH-VrefL = 3V range 10 bit converter step size = range/2 10 = 2.9297mV/step 2V / 2.9297mV/step = 682 steps from VrefL 10 1010 1010 9 tj

Successive Approximation A to D Uses an iterative process to determine the correct digital value for the analog input Requires Input (sample and held) A register to hold the current estimate of the digital value D to A converter to convert the digital estimate back to analog A comparator to determine if the estimate is above or below the actual input value Control logic to run the process Uses a binary search to find the nearest code value to the input value 10 tj

Successive Approximation A to D Vin + _ Clk CONTROL VrefH VrefL D to A Successive Approximation Register OUTPUT LATCH Output Code 11 tj

Successive Approximation A to D The control logic resets the SAR before each conversion The control logic then sets the msb The DtoA converts this to ½ the reference voltage The comparator tests to see if the input is above or below this value if above, the 1 in the msb stays if below, the msb is reset to zero The control logic then sets the msb-1 bit The DtoA converts this to the appropriate voltage level The comparator tests to see if the input is above or below this value if above, the 1 stays if below, the msb-1 bit is reset to 0 The control logic then sets the msb-n bit The DtoA converts this to voltage The comparator tests to see if the input is above or below this value if above, the 1 stays if below, the msb-n bit is reset to 0 Vin Clk D to A + _ CONTROL Successive Approximation Register Output Code VrefH 12 VrefL tj OUTPUT LATCH

Steps relative to VrefH-VrefL A to D Convertor 1V, 5 bit example Test to see if input is > or < midpoint if <, clear msb if >, set msb Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 DtoA output 1 0000 SAR 13 Cycle 1 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < midpoint if <, clear msb if >, set msb Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 DtoA output 0 0000 SAR 14 Cycle 1 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 1000 SAR DtoA output 15 Cycle 1 Cycle 2 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0000 SAR DtoA output 16 Cycle 1 Cycle 2 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0100 SAR DtoA output 17 Cycle 1 Cycle 2 Cycle 3 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0100 SAR DtoA output 18 Cycle 1 Cycle 2 Cycle 3 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0110 SAR DtoA output 19 Cycle 1 Cycle 2 Cycle 3 Cycle 4 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0110 SAR DtoA output 20 Cycle 1 Cycle 2 Cycle 3 Cycle 4 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0111 SAR DtoA output 21 Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 tj

Steps relative to VrefH-VrefL A to D Converter Test to see if input is > or < new midpoint if <, clear bit if >, set bit Input 0.96875 0.9375 0.90625 0.875 0.84375 0.8125 0.78125 0.75 0.71875 0.6875 0.65625 0.625 0.59375 0.5625 0.53125 0.5 0.46875 0.4375 0.40625 0.375 0.34375 0.3125 0.28125 0.25 0.21875 0.1875 0.15625 0.125 0.09375 0.0625 0.03125 0 0 0111 SAR DtoA output 22 Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 tj

Example 1 Nbits: 4 VrefH: 3v VrefL: 0v D/A D/A Code Output Voltage HEX 0 0.000 1 0.188 4 0.750 6 1.125 8 1.500 C 2.250 E 2.625 F 2.813 23 tj

Example2 Nbits: 4 VrefH: 3v VrefL: 0v Input Voltage Output Code Hex 0 0 0.3 1 0.9 4 1.47 7 1.53 8 2.4 C 2.85 F 3.3 F 24 tj

Example3 Nbits: 4 VrefH: 3v VrefL: 0v Input Output D/A Voltage Code Output Voltage Hex 0 0 0.000 0.3 1 0.188 0.9 4 0.750 1.47 7 1.313 1.53 8 1.500 2.4 C 2.250 2.85 F 2.813 3.3 F 2.813 Error Voltage 0.000 0.113 0.150 0.158 0.030 0.150 0.038 0.488 Error Bits 0.000 0.600 0.800 0.840 0.160 0.800 0.200 2.600 25 tj