ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.

Slides:



Advertisements
Similar presentations
EET260: A/D and D/A conversion
Advertisements

Analog-to-Digital Converter (ADC) And
Analog-to-digital Conversion and Digital-to-analog Conversion (with DSP) ES-3.
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.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
Shuvra Das University of Detroit Mercy
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
Analog Sensing 101 WITH P Agenda  Analog Signal Characteristics  Common Problems with A/D Conversion  Clipping  Small Signals  Aliasing  Analog.
Instrumentation - Introduction 10/9/2013Ohio University - Dr. Cyders1 Engineering measurements are usually taken by some form of transducer. A transducer.
Lecture 9: D/A and A/D Converters
CHAPTER 5 Discrete Sampling and Analysis of Time-Varying Signals Analog recording systems, which can record signals continuously in time, digital data-acquisition.
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Analogue to Digital 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.
EET260: A/D and D/A converters
CEN352, Dr. Ghulam Muhammad King Saud University
CEG3185 : Introduction to Computer Networks SEG3155 : Communication and Networking Tutorial 4.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Digital Communication Techniques
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Random signals. Histogram of the random signal Continuous Time Sinusoidal signals.
Computer-Based Instrumentation 11/12/01 ISAT 300.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
Analog to Digital Data Conversion
Professor: Dr. Miguel Alonso Jr.
ENGR 104: Data Acquisition Lecturers: Dr. Binh Tran Dr. Otto Wilson Jr. © The Catholic University of America Dept of Biomedical Engineering.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Revised: Aug 1, ECE 263 Embedded System Design Lessons HC12 Analog-to-Digital (ATD) Converter System.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 15-Sept, 1998EE421, Lecture 031 Lecture 3: Quantization l The last major stage of.
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 9 Computer-Based Instrumentation.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
ELECTRICAL ENGINEERING Principles and Applications THIRD EDITION ALLAN R. HAMBLEY ©2002 Prentice-Hall, Inc. Chapter 9 Computer-Based Instrumentation Systems.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
Lecture 2 Analog to digital conversion & Basic discrete signals.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Digital Measurements AOE 3054 Lowe Credits: Some excerpts developed by Devenport and Edwards, extracted from the course manual. 1.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식
Lecture Notes / PPT UNIT III
MECH 373 Instrumentation and Measurements
FIGURE 2-1 Typical digital signal processing system.
Chapter4. Sampling of Continuous-Time Signals
Analog to digital conversion
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 
Chapter 3 Sampling.
Analog to Digital Converters Electronics Unit – Lecture 7
Chapter 2 Signal Sampling and Quantization
Analog to Digital Data Conversion
لجنة الهندسة الكهربائية
MECH 373 Instrumentation and Measurements
Lesson 8: Analog Signal Conversion
PIC18F458 Analog-to-Digital
COMS 161 Introduction to Computing
Analog to Digital Encoding
CEN352, Dr. Ghulam Muhammad King Saud University
Presentation transcript:

ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01

Sampling (In the context of polling) Filter input first      

Sampling (In the context of polling) Then sample      

Sampling of Time-Varying Signals (Measurands) When using a computerized data acquisition system, measurements are only made at a discrete set of times, not continuously. For example, a temperature or voltage reading (called a sample) may be taken every 0.1 s or every 2 min, and no information is taken for the time periods in between the samples.

Sampling of Time-Varying Signals (Measurands) a) time-varying signal (e.g., voltage) b) signal being sampled c) the sampled points (dots) d) signal can be reconstructed by connecting the dots

Sampling of Time-Varying Signals (Measurands) The rate at which measurements are made is known as the sampling rate, expressed in samples/sec or Hz. Incorrect selection of the sampling rate can lead to misleading results.

The problem of aliasing 10 Hz input sampled at 11 Hz Output looks like 1 Hz !

The problem of aliasing (continued) 10 Hz input sampled at 9 Hz Output looks like 1 Hz

The problem of aliasing (continued) 10 Hz input sampled at 8 Hz Output looks like 2 Hz

The problem of aliasing (continued) 10 Hz input sampled at 12 Hz Output looks like 2 Hz

The alias frequency 10 Hz input sampled at 11 Hz Output looks like 1 Hz

When does aliasing happen? 10 Hz input sampled at 11 Hz Output looks like 1 Hz

Another pathology 10 Hz input sampled at 5 Hz Output looks like 0 Hz (dc) Beware if

Avoiding aliasing To avoid aliasing, sample your signal at greater than twice the maximum frequency of interest. This is a minimum X the maximum frequency of interest would be better. Another way to state this rule is the Nyquist criterion:

The A/D converter--produces binary numbers

A one-bit A/D converter V in V in > 5 V  output = on “1” V in < 5 V  output = off “0” Input Output

A two-bit (unipolar) A/D converter 10.0 V 7.5 V 5.0 V 2.5 V 0 V 0d0d 1d1d 2d2d 3d3d N = 2 Output has 2 N possible values (error on page 78?) Input Output Range? Span?

A two-bit (unipolar) A/D converter 10.0 V 7.5 V 5.0 V 2.5 V 0 V 0d0d 1d1d 2d2d 3d3d N = 2 (V ru - V rl ) / 2 N How big is each input bin? Input Output

Input resolution error = Quantization error 10.0 V 7.5 V 5.0 V 2.5 V 0 V 0d0d 1d1d 2d2d 3d3d N = 2  0.5 (V ru - V rl ) / 2 N

Sampling and A/D Conversion a) An analog signal has been sampled and then converted to digital (2’s complement). b) This quantization results in error.

Saturation 10.0 V 7.5 V 5.0 V 2.5 V 0 V 0d0d 1d1d 2d2d 3d3d N = 2 V in = 12 V Input Output

A two-bit (bipolar) A/D converter 5.0 V 2.5 V 0.0 V V V 0d0d 1d1d -1 d -2 d N = (V ru - V rl ) / 2 N Input Output (2’s complement)

Choosing an A/D converter--resolution National Instruments model 16E-4 National Instruments model 16XE bits 16 bits

Choosing an A/D converter--speed National Instruments model 16E-4 National Instruments model 16XE kS/s 20 kS/s (kiloSamples/second)

Choosing an A/D converter--input range National Instruments model 16E-4 National Instruments model 16XE-50  10 V

Calculating the digital output To estimate the digital output of an A/D converter, see page 81. E.g., for a simple binary A/D converter: V in = analog input voltage V ru = upper value of input range V rl = lower value of input range N = number of bits D o = digital output (as a decimal number!)

Calculating the digital output Example: 8-bit, simple binary A/D converter Range is 0 to 5V. Input is 3.15V. Find output.