Data Acquisition Systems

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Interfacing to the Analog World
Interfacing to the Analog World
Analog to Digital Conversion (ADC)
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 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.
4-Integrating Peripherals in Embedded Systems (cont.)
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
Arnan Sipitakiat Dept. Computer Engineering, Chiang Mai Univeristy.
ADC and DAC. Reason for Signal Conversion digital AD2 DA1.
Lecture 9: D/A and A/D Converters
Interfacing Analog and Digital Circuits
Unit 4 Sensors and Actuators
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Analogue to Digital Conversion
Introduction to Data Conversion
 Circuit building blocks that compare the strength of two signals (usually Volts) and provide an output signal when one is bigger than the other are.
EE174 – SJSU Lecture #4 Tan Nguyen
EET260: A/D and D/A converters
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Digital to Analog and Analog to Digital Conversion
Digital data acquisition1 Measuring ? „Wer misst, misst Mist.“ numeric result Sensing, Signal Processing Evaluation Physical/Chemical Property Physical/Chemical.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
ADC & DAC Signal Conversions.
1 4-Integrating Peripherals in Embedded Systems (cont.)
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Basics of data acquisition systems
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
High Speed Analog to Digital Converter
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 1P. 1Winter Quarter Data Acquisition System Fundamentals Lab 1.
Data Acquisition and Interfacing (Section 4.5) Lecture 18.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
Analog/Digital Conversion
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
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.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
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
Data Acquisition Systems
Signal conditioning.
Digital Control Systems Waseem Gulsher
Created by Luis Chioye Presented by Cynthia Sosa
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
Data Acquisition (DAQ)
Analog-to-digital converter
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:

Data Acquisition Systems Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated by a computer. Data acquisition systems (abbreviated with the acronym DAS or DAQ) typically convert analog waveforms into digital values for processing.

Contd. Data Acquisition System A data acquisition system consists of many components that are integrated to: Sense physical variables (use of transducers) Condition the electrical signal to make it readable by an A/D board. Convert the signal into a digital format acceptable by a computer Process, analyze, store, and display the acquired data with the help of software

Data Acquisition System Signal Conditioner Analog Signal ADC HW: sample F(t)=sin(at)+sin(bt) at different sampling rate, perform FFT on the sampled data, and determine the frequency of F(t). Explain why different frequency components are achieved with different sampling rate. Digital Processing Communication

Data Acquisition System Block Diagram

Sensor(Transducers) The components of data acquisition systems include: Sensors that convert physical parameters to electrical signals Sense physical phenomena and translate it into electric signal. Displacement Level Electric signals ON/OFF switch Temperature Pressure Light Force

Signal Conditioning Signal conditioning circuitry to convert sensor signals into a form that can be converted to digital values. Functions: modify the analog signal to match the performance of the ADC Pre-filtering: remove undesirable high frequency components Amplification: amplify the signal to match the dynamic range of the ADC

Analog-to-Digital Conversion Most signals are naturally analog (e.g. a voltage) Digital techniques are often more useful: data storage, processing, computing, error free signal transmission etc. We need ways to convert analog signals to digital Want A/D converters to be fast, accurate and cheap Before a computer can process analog information, we must first use an analog-to-digital converter (ADC) to transform the analog values into digital binary values.

Data Acquisition Software It can be the most critical factor in obtaining reliable, high performance operation. Transforms the PC and DAQ hardware into a complete DAQ, analysis, and display system. Different alternatives: Programmable software. Data acquisition software packages.

Successive-approximation A/D converter The successive approximation ADC has been the mainstay of data acquisition systems for many years. A successive approximation ADC is a type of analog-to-digital converter that converts a continuous analog waveform into a discrete digital representation via a binary search through all possible quantization levels before finally converging upon a digital output for each conversion.

The successive-approximation A/D converter consists of: D/A converter Contd. Successive-approximation A/D converter The successive-approximation A/D converter consists of: D/A converter Comparator Success-approximation register . Conversion process starts at Maximum range (MSB) and steps down through a defined sequence to the (LSB) until correct reading is found using a DAC and an analog comparator circuit.

Contd. Successive-approximation A/D converter Successive Approximation ADC Block Diagram. Key DAC = Digital-to-Analog converter EOC = end of conversion SAR = successive approximation register S/H = sample and hold circuit Vin = input voltage Vref = reference voltage

A sample and hold circuit to acquire the input voltage (Vin). Contd. Successive-approximation A/D converter The successive approximation Analog to digital converter circuit typically consists of four chief sub circuits: A sample and hold circuit to acquire the input voltage (Vin). An analog voltage comparator that compares Vin to the output of the internal DAC and outputs the result of the comparison to the successive approximation register (SAR).

Contd. Successive-approximation A/D converter A successive approximation register sub circuit designed to supply an approximate digital code of Vin to the internal DAC. An internal reference DAC that, for comparison with VREF, supplies the comparator with an analog voltage equal to the digital code output of the SARin.

Operation of the successive-approximation A/D converter The successive approximation register is initialized so that the most significant bit (MSB) is equal to a digital 1. This code is fed into the DAC, which then supplies the analog equivalent of this digital code (Vref/2) into the comparator circuit for comparison with the sampled input voltage. If this analog voltage exceeds Vin the comparator causes the SAR to reset this bit; otherwise, the bit is left a 1.

Operation of the successive-approximation A/D converter Then the next bit is set to 1 and the same test is done, continuing this binary search until every bit in the SAR has been tested. The resulting code is the digital approximation of the sampled input voltage and is finally output by the SAR at the end of the conversion (EOC).

Operation of the successive-approximation A/D converter

Example:Operation of the successive-approximation A/D converter

Successive Approximation ADC Example Goal: Find digital value Vin 8-bit ADC Vin = 7.65 Vfull scale = 10

Successive Approximation ADC Example Vfull scale = 10, Vin = 7.65 MSB  LSB Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 7 (Vfull scale +0)/2 = 5 7.65 > 5  Bit 7 = 1 1  

Successive Approximation ADC Example Vfull scale = 10, Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 6 (Vfull scale +5)/2 = 7.5 7.65 > 7.5  Bit 6 = 1 1  1  

Successive Approximation ADC Example Vfull scale = 10, Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 5 (Vfull scale +7.5)/2 = 8.75 7.65 < 8.75  Bit 5 = 0 1  1  0  

Successive Approximation ADC Example Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 4 (8.75+7.5)/2 8.125 7.65 < 8.125  Bit 4 = 0 1  1  0  

Successive Approximation ADC Example Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 3 (8.125+7.5)/2 = 7.8125 7.65 < 7.8125  Bit 3 = 0 1  1  0 0   

Successive Approximation ADC Example Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 2 (7.8125+7.5)/2 = 7.65625 7.65 < 7.65625  Bit 2 = 0 1  1  0 0   

Successive Approximation ADC Example Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 1 (7.65625+7.5)/2 = 7.578125 7.65 > 7.578125  Bit 1 = 1 1  1  0 0  1   

Successive Approximation ADC Example Vin = 7.65 MSB  LSB Average high/low limits Compare to Vin Vin > Average  MSB = 1 Vin < Average  MSB = 0 Bit 0 (7.65625+7.578125)/2 = 7.6171875 7.65 > 7.6171875  Bit 0 = 1 1  1  0 0  1 

Successive Approximation ADC Example 110000112 = 19510 8-bits, 28 = 256 Digital Output 195/256 = 0.76171875 Analog Input 7.65/10 = 0.765

Exercise Given an analog input signal whose voltage should range from 0 to 15 volts, and an 8-bit digital encoding, calculate the approximate encoding for 5 volts. Trace the successive-approximation approach to find the correct encoding.