Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Analog to Digital Conversion (ADC)
Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Digital to Analog and Analog to Digital Conversion
©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.
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
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.
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.
EE174 – SJSU Lecture #4 Tan Nguyen
EET260: A/D and D/A converters
PH4705/ET4305: A/D: Analogue to Digital Conversion
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
Logic Gates Combinational Circuits
Digital to Analog Converters
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
Fundamentals of IT UNIT-I OnlyforIPMCA. DIGITAL SIGNALS & LOGIC GATES Signals and data are classified as analog or digital. Analog refers to something.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
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
University of Tehran 1 Interface Design Transforms Omid Fatemi.
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) Q=
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Introduction to Computing Systems and Programming Digital Logic Structures.
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.
President UniversityErwin SitompulDigital Systems 7/1 Lecture 7 Digital Systems Dr.-Ing. Erwin Sitompul President University
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
Digital-to-Analog Analog-to-Digital
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.
Logic Gates Digital Logic Design. What is a logic gate? A switch with an output that will only turn on when inputs are in particular positions.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Unit 1 Introduction Number Systems and Conversion.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
EI205 Lecture 13 Dianguang Ma Fall 2008.
Principles & Applications
Digital-to-Analog Analog-to-Digital
Introduction to data converters
Introduction to data converters
Digital Control Systems Waseem Gulsher
Digital Electronics & Logic Design
Lesson 8: Analog Signal Conversion
Universiti Malaysia Perlis
Digital to Analog Converters (DAC)
Conversation between Analogue and Digital System
Electronics for Physicists
Chapter 7 Converters.
Arithmetic Circuits.
 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:

Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006

Overview High Level DAQ System Description Quick Review of Digital Fundamentals Digital to Analog Conversion Analog to Digital Conversion

High Level System Description A data acquisition (DAQ) system is a collection of add- on hardware and software components that allow your computer to receive real- world information from sensors. It consists of  Sensors  I/O terminal panel(s)  DAQ board(s)  Software

Digital Fundamentals Binary Number System Bits and Bytes Binary / Decimal Conversion 2’s compliment Logic Gates NOT, AND, NAND…. Digital Devices Decoder, Encoder

Bits and Bytes 8 Bits = 1 Byte For n bits, highest decimal number = 2 n - 1

Decimal to Binary Conversion Whole Numbers: Repeated Division by 2 Convert to binary: 12/2 = 6 R0 LSB = 0 6/2 = 3R0 = 0 3/2 = 1 R1 = 1 1/2 = 0 R1 MSB = =

Decimal to Binary Conversion Fractions: Repeated Multiplication by 2 Convert to binary: X 2 = MSB = X 2 = 1.25 = X 2 = 0.5 = X 2= 1.0 LSB = =

Binary to Decimal Conversion Sum of Weights Binary: 2 n 2 n -1 …… ……….. Convert to Decimal: (1 X 2 3) + (1 X 2 2 ) + (0 X 2 1 ) + (0 X 2 0 ) + (0 X 2 -1 ) + (1 X 2 -2 ) + (0 X 2 -3 ) + (1 X 2 -4 ) = =

2’s Compliment Flip 0’s to 1 and 1’s to 0 and add 1. Example: 2’s compliment of is = Binary subtraction can be performed via addition using the 2’s compliment. Example: 8 – 3 = 8 + (-3) = (2’s compliment of -3) carry over eliminated

NOT Gate (Inverter) Truth Table Input AOutput Q AQ

AND Gate Truth Table Input AInput BOutput Q A B Q

NAND Gate Truth Table Input AInput BOutput Q A B Q

OR Gate Truth Table Input AInput BOutput Q A B Q

NOR Gate Truth Table Input AInput BOutput Q A B Q

EX-OR Gate Truth Table Input AInput BOutput Q A B Q

EX-NOR Gate Truth Table A B Q Input AInput BOutput Q

Decoder 3-to-8 Line Decoder y 0 = a’b’c’ y 1 = a’b’c y 2 = a’bc’ y 3 = a’bc y 4 = ab’c’ y 5 = ab’c y 6 = abc’ y 7 = abc a b c Truth Table

Encoder y0y0 y1y1 y2y2 y3y3 y4y4 y5y5 y6y6 y7y7 8 to 3 Encoder a b c Truth Table

Multiplexer 4-to-1 MUX I0I0 I1I1 I2I2 I3I3 AB Z ABI3ABI3 A B’ I 2 A’ B I 1 A’ B’ I 0 Z

Digital to Analog Conversion Converter Types Binary Weighted Input R/2R Ladder Performance Characteristics Resolution Accuracy Linearity Monotonicity Settling Time

D/A Binary Weighted Input

D/A R/2R Ladder Converter

D/A Performance Characteristics Resolution - reciprocal to number of discrete steps in D/A output. For n bit output, resolution = 1 / (2 n - 1). Accuracy - comparison of actual output with expected output expressed as a percentage of full scale. Ideal accuracy is at most  0.5 of LSB. For 8 bit converter LSB = 1/2 8 = 1/256 = Accuracy   0.2%

D/A Performance Characteristics Linearity - deviation from ideal straight-line output of D/A converter. Special case is offset error which is D/A converter output when input is all zeros. Monotonicity - D/A converter is monotonic if it does not take any reverse steps when it is sequenced over entire range of input bits.

D/A Performance Characteristics Settling Time - the time it takes D/A converter to settle within  1/2 LSB of its final value when a change occurs in the input value.

Analog to Digital Conversion Converter Types Flash Stair Step Ramp Tracking Single and Dual Slope Successive Approximation

A/D Flash Short Conversion Time N-bit output requires 2 N -1 comparators

A/D Flash

A/D Stair Step Ramp Slower than Flash A/D Converter Worst case counter must sequence through max number of states before conversion made. Conversion time dependant on analog voltage.

A/D Stair Step Ramp

A/D Tracking Counter tracks analog input voltage. Disadvantage - counter oscillates between up and down state if input voltage constant.

A/D Tracking

A/D Single Slope

A/D Dual Slope Counter Latches Analog Input Ramp generator Comparator Clock Control Logic Binary Output Switch -V ref A1 A2

A/D Successive Approximation Most widely used A/D converter Faster than other methods except for flash method Fixed conversion time

A/D Successive Approximations

PBL 1 Digital to Analog Conversion Determine the resolution expressed as a percentage, for each of the following D/A converters: a) 3-bit b) 10-bit c) 18-bit

PBL 1 Answer a) 3-bit converter, 1/(2 3 -1) X 100 = 14.3% b) 10-bit converter, 1/( ) X 100 = 0.098% c) 18-bit converter, 1/( ) X 100 = 3.8E-4%

PBL 2 How many comparators are required for a 4-bit output flash A/D converter?

PBL 2 Answer = 15 comparators required