CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Digital to Analogue Conversion
Digital-to-Analog & Analog-to-Digital Conversion BJ Furman 17APR2014.
Digital to Analog and Analog to Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
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.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Lecture 9: D/A and A/D Converters
10/23/2003ME DAC Lecture1 DAC Sunij Chacko Pierre Emmanuel Deliou Thomas Holst Used with modification.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
AD/DA Converter National Instruments NI USB-6009 BME 1008 Introduction to Biomedical Engineering FIU, Spring 2015 Feb 12 Lesson 4 - NI USB Matlab.
1 Figure 9.36 The process of periodically sampling an analog signal. (a) Sample-and-hold (S/H) circuit. The switch closes for a small part (  seconds)
EET 252 Unit 7 Digital-to-Analog Conversion
EET260: A/D and D/A converters
Analog-to-Digital Converters Prepared by: Mohammed Al-Ghamdi, Mohammed Al-Alawi,
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.
Digital to Analog Converters
Digital to Analog and Analog to Digital Conversion
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
ADC & DAC Signal Conversions.
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
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
EE121 John Wakerly Lecture #13
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
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 Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Analog-to-Digital and Digital-to-Analog Conversion
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Figure Analog-to-digital conversion.. Figure The DAC output is a staircase approximation to the original signal. Filtering removes the sharp.
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
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.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
Basic Op-Amp Circuits Application: D/A Conversion.
ELECTRONIC DEVICES BASIC OP-AMP CIRCUIT MOHD AIDIL IDHAM BIN DAUD AZFAR ASYRAFIE BIN AHMAD
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Digital-to-Analog Analog-to-Digital
Task 2: Define digital and analogue signals
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.
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
Analog-Digital Conversion
Digital-to-Analog Analog-to-Digital
Principles & Applications
Digital-to-Analog Analog-to-Digital
Analogue to Digital Conversion
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
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:

CHAPTER 19 Data Conversion

Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion Troubleshooting

Introduction The low cost of microprocessors and the power of using software to carry out signal processing has revolutionized electronics. The fact that real-world signals are analog requires microprocessor-based systems to have an A/D at one end and a D/A at the other end.

A Typical System

Resolution Analog signals can have any value; digital signals cannot.

Resolution Analog signals are continuous, meaning that between any two values, there is always another value. For example, between Volts and Volts there is Volts (and an infinite number of other values). Digital signals are discrete, meaning that the difference between any two digital values cannot be less than 1. For example, the next number after binary 1010 is There is no value between 1010 and 1011.

Resolution Resolution is the smallest difference you can “see” in a system. In a digital system, it is always 1 bit, but you need to know how many bits are in a “word”. Resolution is a percentage of the maximum binary value. For example: suppose you have an 8-bit converter. The resolution would be: Resolution = (1 / 2 8 )  100% Resolution = (1 / 256)  100% Resolution = 0.39%

Resolution Resolution is not the same as accuracy. For example: 6 / 3 = has 6 digits of resolution (that’s 1 ppm!) but only 3 digits of accuracy (2.00)

Resolution More bits = finer resolution = less “graininess”.

Digital-to-Analog To build an analog-to-digital, you first need a digital-to-analog converter (also called DAC or D/A). The basic ingredients are a precise (or at least stable) voltage reference, some precision resistors, some digitally controlled switches, and an op-amp to sum it all up. See figure on following slide.

Digital-to-Analog R-2R resistor network supplies binary-weighted current.

Digital-to-Analog A “Multiplying DAC” application.

Analog-to-Digital The basic idea is to use a DAC and a comparator, and something to generate binary numbers. The analog input is applied to one comparator input. The output of the DAC is applied to the other. Binary values are tried, and the comparator tells the logic about the analog input vs. the DAC output.

Analog-to-Digital The simplest approach would be to use a binary counter to drive the DAC. As the count increases from zero, the output voltage of the DAC walks up a staircase. At some value of DAC output, the comparator “flips” and the counter stops counting. Whatever number is in the counter is the answer. The problem with that approach is that it takes too long to count up. The more bits, the longer it takes.

Analog-to-Digital Instead of just counting up from zero, the standard approach is to use a technique called Successive Approximation It requires a digital logic circuit called a “successive approximation register” (SAR). Using SAR, the MSB is applied to the DAC first. If the comparator flips, take it out; if not, leave it in. Repeat the process with each bit down to the LSB.

Analog-to-Digital

The basic process.

Analog-to-Digital The hardware.

S&H: Sample-and-Hold Holds V in steady while it is being converted.

Troubleshooting Use a scope to examine waveforms. Look for “missing codes” which appear as “landings” on a staircase (sawtooth). Look for “stuck bits”. Check the reference voltage (with a good meter). Look for DC offsets.