Data Acquisition: A/D & D/A Conversion

Similar documents
Analog to Digital Conversion

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

CENG4480 Lecture 04: Analog/Digital Conversions

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

Analog to Digital Converters

PHYS225 Lecture 22. Electronic Circuits

Digital to Analog Conversion. Data Acquisition

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

EEE312: Electrical measurement & instrumentation

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

A-D and D-A Converters

Analog to digital and digital to analog converters

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

Electronics II Physics 3620 / 6620

PC Digital Data Acquisition

The need for Data Converters

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

P a g e 1. Introduction

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

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

Microprocessors & Interfacing

Data Acquisition & Computer Control

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

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

CHAPTER ELEVEN - Interfacing With the Analog World

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

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

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

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

Chapter 2 Signal Conditioning, Propagation, and Conversion

Data Converter Fundamentals

Theoretical 1 Bit A/D Converter

Analogue to Digital Conversion

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

System on a Chip. Prof. Dr. Michael Kraft

Data acquisition and instrumentation. Data acquisition

Chapter 2 Analog-to-Digital Conversion...

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

ADC and DAC converters. Laboratory Instruction

Outline. Analog/Digital Conversion

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

The Importance of Data Converter Static Specifications Don't Lose Sight of the Basics! by Walt Kester

16.2 DIGITAL-TO-ANALOG CONVERSION

Electronics A/D and D/A converters

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

EECS 452 Midterm Exam Winter 2012

Lecture #6: Analog-to-Digital Converter

Cyber-Physical Systems ADC / DAC

Section 1. Fundamentals of DDS Technology

Chapter 5: Signal conversion

Design IV. E232 Spring 07

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

Analogue to Digital Conversion

Analog to Digital Conversion

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

Data Converters. Lecture Fall2013 Page 1

IES Digital Mock Test

Operational Amplifiers (Op Amps)

PC-based controller for Mechatronics System

Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

Lecture 6: Digital/Analog Techniques

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

Lab Exercise 6: Digital/Analog conversion

from: Point Operations (Single Operands)

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

Data Conversion and Lab (17.368) Fall Lecture Outline

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

Fan in: The number of inputs of a logic gate can handle.

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

Analyzing A/D and D/A converters

Lecture 9, ANIK. Data converters 1

The simplest DAC can be constructed using a number of resistors with binary weighted values. X[3:0] is the 4-bit digital value to be converter to an

Computerized Data Acquisition Systems. Chapter 4

A New, Low-Cost, Sampled-Data, 10-Bit CMOS A/D Converter

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

RESIDUE AMPLIFIER PIPELINE ADC

Design IV. E232 Fall 07

Specifying A D and D A Converters

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

MECE 3320 Measurements & Instrumentation. Data Acquisition

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

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

EE251: Tuesday October 10

Analog to Digital Conversion

Analog to Digital (ADC) and Digital to Analog (DAC) Converters

EE 210 Lab Exercise #4 D/A & A/D Converters

Ch 5 Hardware Components for Automation

SAMPLING AND RECONSTRUCTING SIGNALS

Analog/Digital and Sampling

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

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

12-Bit Successive-Approximation Integrated Circuit ADC ADADC80

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

Microprocessor-Compatible 12-Bit D/A Converter AD667*

EE 308: Microcontrollers

Embedded System Hardware

Analog-to-Digital i Converters

16-Bit ANALOG-TO-DIGITAL CONVERTER

Analog ó Digital Conversion Sampled Data Acquisition Systems Discrete Sampling and Nyquist Digital to Analog Conversion Analog to Digital Conversion

Transcription:

Data Acquisition: A/D & D/A Conversion Mark Colton ME 363 Spring 2011

Sampling: A Review In order to store and process measured variables in a computer, the computer must sample the variables 10 Continuous Discrete 8 6 Discretization 4 2 x 0-2 -4-6 -8-10 0 0.2 0.4 0.6 0.8 1 t

Sampling: A Review Sampling causes information to be lost We only have data points at discrete times We don t know the values of the waveform between samples The shape of the input waveform is unclear Sampling faster gives better results Data points are more closely spaced The waveform shape is better defined Aliasing is prevented

Quantization There is another source of uncertainty due to sampling Computers can not store numbers exactly Converting analog numbers to digital numbers is called quantization Results in an approximation to the value of the number

Quantization vs. Discretization Discretization Time Quantization Magnitude V Quantization Discretization t

Quantization vs. Discretization 5 x 0-5 0 0.5 1 1.5 2 t

Binary Numbers The smallest unit of digital information is the bit A bit is a single binary digit consisting of a 0 or a 1 A combination of bits can be used to represent numbers other than 0 or 1 A group of bits is called a word A byte is an 8-bit word

Binary Numbers Binary numbers represent a base-2 number system An M-bit word can represent 2 M different numbers Example: 2 bits 2 2 = 4 different numbers 00 10 01 11 If your computer uses 16 bits, how many different numbers can it represent? 2 16 = 65,536 If the number you are measuring is not one of those 65,536 numbers, then it will have to be approximated

Straight Binary Let s look at one binary representation system that uses an M-bit word M-1 A M-1 MSB Each bit represents the multiplier of the corresponding power of 2: number = A M-1 2 M-1 + + A 2 2 2 + A 1 2 1 + A 0 2 0 MSB denotes most significant bit LSB denotes least significant bit 3 2 1 0 A 3 A 2 A 1 A 0 LSB

Consider a 4-bit word Example There are 2 4 = 16 possible numbers 3 2 1 0 1 1 1 1 1 2 3 + 1 2 2 + 1 2 1 + 1 2 0 = 15 3 2 1 0 0 0 0 0 0 2 3 + 0 2 2 + 0 2 1 + 0 2 0 = 0 3 2 1 0 1 0 0 1 1 2 3 + 0 2 2 + 0 2 1 + 1 2 0 = 9

Bipolar Codes Straight binary is unipolar no sign information There are several bipolar codes see Table 7.1 Two s Complement is the most widely used in digital computers

Actual Digital Representation Computers don t really store 1 s and 0 s They store voltages, with 1 corresponding to the high voltage and 0 corresponding to the low voltage In many cases high means 5 V and low means 0 V

A/D and D/A Conversion Analog-to-Digital Conversion (A/D or ADC): Convert an analog voltage to a digital word MSB V in A/D LSB Digital-to-Analog Conversion (D/A or DAC): Convert a digital word to an analog voltage MSB D/A V out LSB

D/A Conversion MSB D/A V out LSB Switches set each bit to 0 or E ref c m corresponds to 1 or 0 at the m th bit Output voltage: E o = E ref R r M m= 1 c 2 m m 1 R

A/D Conversion Analog-to-digital converters quantize sampled analog signals Resolution: The smallest voltage increment that will cause a change in the converter (the smallest detectable difference in voltages) resolution = range of number of possible values possible values-1 resolution = full - scale voltage range bits of resolution 2 1 MSB Q EFSR = 2 M 1 V in A/D LSB

Consider a 3-bit straight binary A/D converter E FSR = 10 V Q = 10/(2 3-1)= 10/7 = 1.429 V Lab: Q = 10/(2 12-1)= 10/4095 = 0.0024 V Output 10.00 111 8.571 110 7.143 101 5.714 100 4.286 011 2.857 010 1.429 001 Example Saturation 0.00 000 1.429 2.857 4.286 5.714 7.143 8.571 10.00 Input

A/D Converter Types Successive Approximation Ramp (Integrating) Parallel (Flash) Sigma/Delta

Successive Approximation Uses a trial-and-error approach to set bits of digital M-bit register that approximates the analog signal being converted Starts with MSB Tests each bit of the register from MSB to LSB successively Compares input voltage to voltage generated using a D/A converter After all registers are set, approximation is complete Advantage: Relatively good speed at a reasonable cost Disadvantage: Sensitivity to noise

Successive Approximation

Ramp (Integrating) Uses a counter and a voltage ramp to perform the conversion Voltage ramp starts at bottom end of the A/D range and ramps up until it sweeps out the entire voltage range A counter simultaneously counts its way from 00000 to 11111 (for 5 bits) The input voltage is compared to the ramp voltage When the ramp exceeds the input voltage, the counter value is stored as the converted digital value Advantages: Cheap, insensitive to noise Disadvantage: Slow

Ramp (Integrating)

Parallel (Flash) Compares the input voltage to many voltage thresholds over the range of the A/D If the input voltage exceeds a particular threshold, then the corresponding comparator output is set HIGH Advantage: Fast Disadvantage: Expensive (requires 2 M -1 comparators)

Parallel (Flash)

Sigma/Delta More complicated to understand Fast and accurate

Overview Sigma/Delta and Successive Approximation converters used in data acquisition boards for PCs Ramp converters used in digital multimeters Flash converters used in high-speed DAC applications

Multiplexers (MUX) There is typically only one A/D converter in a multiple-channel A/D card Multiplexers make it possible to switch between channels and use a single A/D converter Usually the number of channels is a multiple of two

A Complete System (simplified)