In presenting Order: Josh Navikonis Moiz H Mike Hochman Brian Post Analog-Digital Converters ME 6405 9/29/2009.

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
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.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
COMP3221: Microprocessors and Embedded Systems
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.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Lecture 9: D/A and A/D Converters
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.
Data acquisition and manipulation
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.
Analog-to-Digital Converter (ADC)
Analogue to Digital Conversion
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 (ADC)
ADC STUDENT LECTURE Andrew Brown Jonathan Warner Laura Strickland.
EET260: A/D and D/A converters
Analog-to-Digital Converters Prepared by: Mohammed Al-Ghamdi, Mohammed Al-Alawi,
Introduction to Analog-to-Digital Converters
Analogue Input/Output
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog Converters
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Digital to Analog and Analog to Digital Conversion
Digital Communication Techniques
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
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1HSSPG Georgia Tech High Speed Image Acquisition System for Focal-Plane-Arrays Doctoral Dissertation Presentation by Youngjoong Joo School of Electrical.
Analog to Digital Converters (ADC) 1
Analog to Digital Converter
Digital to Analogue Converter
INTERFACE WITH ANALOG WORLD
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.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
High Speed Analog to Digital Converter
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
Analog/Digital Conversion
Chapter 11 Data Acquisition and Manipulation The aims of this chapter are to introduce: the main features of a data acquisition system; the characteristics.
Digital to Analog Converter (DAC)
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
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.
Digital-to-Analog Analog-to-Digital
Lecture Notes / PPT UNIT III
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Introduction to Discrete-Time Control Systems fall
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
Analog to Digital Converters Electronics Unit – Lecture 7
Lesson 8: Analog Signal Conversion
Analog-to-digital converter
Chapter 7 Converters.
Presentation transcript:

In presenting Order: Josh Navikonis Moiz H Mike Hochman Brian Post Analog-Digital Converters ME /29/2009

Agenda  Introduction to ADC  Types of ADC  Characteristics of ADC in MC9S12C  Application and Selection of ADC

Introduction of ADC  What is ADC?  Why is ADC important?  How does it work?

What is ADC?  ADC (Analog to Digital Converter) is an electronic device that converts a continuous analog input signal to discrete digital numbers (binary)  Analog  Real world signals that contain noise  Continuous in time  Digital  Discrete in time and value  Binary digits that contain values 0 or 1

Why is ADC Important?  All microcontrollers store information using digital logic  Compress information to digital form for efficient storage  Medium for storing digital data is more robust  Digital data transfer is more efficient  Digital data is easily reproducible  Provides a link between real-world signals and data storage

How ADC Works 2 Stages:  Sampling  Sample-Hold Circuit  Aliasing  Quantizing and Encoding  Resolution Binary output

Sampling  Reduction of a continuous signal to a discrete signal  Achieved through sampling and holding circuit  Switch ON – sampling of signal (time to charge capacitor w/ V in )  Switch OFF - voltage stored in capacitor (hold operation)  Must hold sampled value constant for digital conversion Response of Sample and Hold Circuit Simple Sample and Hold Circuit

Sampling  Sampling rate depends on clock frequency  Use Nyquist Criterion  Increasing sampling rate increases accuracy of conversion  Possibility of aliasing Sampling Signal: Sampling Period: Nyquist Criterion:

Aliasing  High and low frequency samples are indistinguishable  Results in improper conversion of the input signal  Usually exists when Nyquist Criterion is violated  Can exist even when:  Prevented through the use of Low-Pass (Anti-aliasing) Filters

Quantizing and Encoding  Approximates a continuous range of values and replaces it with a binary number  Error is introduced between input voltage and output binary representation  Error depends on the resolution of the ADC

Resolution  Maximum value of quantization error  Error is reduced with more available memory Example: V range =Input Voltage Range n= # bits of ADC Resolution

 Increase in resolution improves the accuracy of the conversion Minimum voltage step recognized by ADC Analog Signal Digitized Signal- High Resolution Digitized Signal- Low Resolution

Flash A/D Converter Successive Approximation A/D Converter Example of Successive Approximation Dual Slope A/D Converter Delta – Sigma A/D Converter Types of A/D Converters Presenter : Moiz H

Elements of a Flash A/D Converter Encoder Comparator

FLASH A/D CONVERTER 3 Bit Digital Output Resolution = 7 Comparators

Flash A/D Converter Contd. Pros Fastest (in the order of nano seconds) Simple operational theory Speed is limited only by gate and comparator propagation delay Each additional bit of resolution requires twice the number of comparators Expensive Prone to produce glitches in the output Cons

Integrator Elements of Dual-Slope ADC

Dual-Slope ADC *

Elements of the Successive Approximation ADC Takes in a Combination of Bits Successive Approximation Register Digital to Analog Converter

SUCESSIVE APPROXIMATION A/D CONVERTER

Example Show the timing waveforms that would occur in SAR ADC when converting an analog voltage of 6.84V to 8-bit binary, assume that the full scale input voltage of the DAC is 10V. Vref = 10 V Vin = 6.84 V

DAC InputDAC Vout Cumulative Voltage D D D D D D D D V

Dual Slope A/D Converter Contd. Pros High accuracy Fewer adverse affects from noise Slow Accuracy is dependent on the use of precision external components Cons

Delta-Sigma ADC

#1 Delta-Sigma Modulator Delta-Sigma ADC contd.

#2 Digital Filter Delta-Sigma ADC contd. Decimator

Sigma-Delta A/D Converter Contd. Pros High Resolution No need of precision components Slow due to over sampling Good for low bandwidth Cons

TypeSpeed(relative)Cost(Relative) Dual SlopeSlowMed FlashVery fastHigh Successive approxMedium fastLow Sigma-DeltaSlowLow ADC Comparison

ATD10B8C on MC9S12C32  Presented by:  Michael Hochman

MC9S12C32 Block Diagram

ATD10B8C Block Diagram

ATD10B8C Key Features  Resolution  8/10 bit (manually chosen)  Conversion Time  7 usec, 10 bit  Successive Approximation ADC architecture  8-channel multiplexed inputs  External trigger control  Conversion modes  Single or continuous sampling  Single or multiple channels

ATD10B8C External Pins  12 external pins  AN7 / ETRIG / PAD7 Analog input channel 7 External trigger for ADC General purpose digital I/O  AN6/PAD6 – AN0/PAD0 Analog input General purpose digital I/O  V RH, V RL High and low reference voltages for ADC  V DDA, V SSA Power supplies for analog circuitry

ATD10B8C Registers  6 Control Registers ($ $0085)  Configure general ADC operation  2 Status Registers ($0086, $008B)  General status information regarding ADC  2 Test Registers ($ $0089)  Allows for analog conversion of internal states  16 Conversion Result Registers ($ $009F)  Formatted results (2 bytes)  1 Digital Input Enable Register ($008D)  Convert channels to digital inputs  1 Digital Port Data Register ($008F)  Contains logic levels of digital input pins

Control Register 2

Control Register 3

Control Register 4

Control Register 5

Single Channel Conversions

Multi-channel Conversions

Status Register 0

Status Register 1

Results Registers

ATD Input Enable Register

Port Data Register

Setting up the ADC

Applications For ADC  What are some applications for Analog to Digital Converters?  Measurements / Data Acquisition  Control Systems  PLCs (Programmable Logic Controllers)  Sensor integration (Robotics)  Cell Phones  Video Devices  Audio Devices

Measurements / Data Acquisition  The sampling of the real world to generate data that can be manipulated by a computer  (DSP) Digital Signal Processing first requires a digital signal  Eg. Analysis of data from weather balloons by the National Weather Service What is Data AcquisitionNI X-Series Data Acquisition Card

Control Systems S/H & ADC Digital CPU Controller D/A & Hold Plant Transducer Clock Digital Control System + - R Y tt ee* Controller ∆t e*(∆t) ∆t u*(∆t) e e*(∆t) u*(∆t) u

The Old Way…. Analog Computers Comdyna GP6

The New Way tt ee* Controller ∆t e*(∆t) ∆t u*(∆t) ADC Analog Input D/A Analog Output

Programmable Logic Controllers  PLCs are the industry standard for automation tasks including:  Motion Control  Safety Systems  designed for:  multiple inputs and output arrangements  extended temperature ranges  immunity to electrical noise  resistance to vibration and impact  Most I/O are Boolean, however most PLC systems have an analog I/O module ADC in PLCsRockwell PLC Analog I/O Module

Sensor Integration (Robotics)  Many robots use microprocessors  ADC allows robots to interpret environmental cues and compensate  If the algorithm needs to be changed it’s a simple matter of modifying the code  Analog control systems require a complete circuit redesign

Cell Phones  Digital signals can be easily manipulated  Digital phones convert your voice into binary information and then compress it  This compression allows between three and 10 digital calls to occupy the space of a single analog call.  The analog-to-digital and digital-to- analog conversion chips translate the outgoing audio signal from analog to digital and the incoming signal from digital back to analog Why Digital?

Audio Devices  ADCs are integral to current music reproduction technology  They sample audio streams and store the digital data on media like compact disks  The current crop of AD converters utilized in music can sample at rates up to 192 kilohertz  Sound Cards ExamplesADC From Sound Card

Video Devices  Analog video and audio signals are converted to digital signals for display to user  Slingbox converts analog input stream and rebroadcasts it across the internet in digital form  CCDs use ADCs to process image data TV Tuners

Selection of an ADC  Important Considerations:  Input Type – Differential or Single Ended  Resolution - Most Important  Scaling - allows the user to divide or multiply the input voltage to more closely match the full scale range of the ADC  Sample Rate - The sample rate must be at least twice the frequency the you are measuring, but 5 times is much better  Channel Scan Rate - The channel scan rate is the maximum rate that the ADC can select a new channel and make a measurement. many ADCs have a relatively slow scan rate (when compared to the sample rate.) Eg. To achieve a sample rate of 600Hz on three channels, you will need a channel scan rate of at least 1.8kHz

Example: Selecting an ADC  We want to digitize a vibration signal measured by an accelerometer with the following characteristics (PCB 301A10):  Sensitivity: (±2.0%) 100 mV/g  Measurement Range: ±50 g pk  Frequency Range: (±5%) 0.5 to Hz  Select a satisfactory Analog to Digital Converter….

Example Continued  Desired Signal:  Sensitivity: (±2.0%) 100 mV/g  Measurement Range: ±50 g pk  Frequency Range: (±5%) 0.5 to Hz  Resolution:  Minimum Sampling Freq:  Ideal Sampling Freq: Solution

Choosing AD7892  From Analog Devices:  The AD7892 is a high speed, low power, 12-bit A/D converter that operates from a single +5 V supply. The part contains a 1.47 µs successive approximation ADC, an on-chip track/hold amplifier, an internal +2.5 V reference and on- chip versatile interface structures that allow both serial and parallel connection to a microprocessor. The part accepts an analog input range of ±10 V or ±5 V. Overvoltage protection on the analog inputs for the AD and AD allows the input voltage to go to ±17 V or ±7 V respectively without damaging the ports.

References  Cetinkunt, Sabri. Mechatronics 2007   en.wikipedia.org/    Bishop, Ron. Basic Microprocessors and the 6800  MC912SC Family Data Sheet  MC912SC Reference Manual  MC912SC Programming Reference Guide