ME 322: Instrumentation Lecture 19

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

ME 322: Instrumentation Lecture 35 April 18, 2014 Professor Miles Greiner.
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
ME 322: Instrumentation Lecture 33 April 14, 2014 Professor Miles Greiner.
Multiplexed vs. Simultaneous Data Acquisition Using USB Devices Presented by: Rene Messier Company: Data Translation Company: Data Translation.
Workshop 7 of 7 Welcome!. Today's Topics Data Acquisition MAX DAQ Assistant Express VI DAQmx API Create Task Configure Task Configure Trigger Start Task.
ME 322: Instrumentation Lecture 21
ME 322: Instrumentation Lecture 18 March 2, 2015 Professor Miles Greiner TC signal conditioner, Computer data acquisition introduction, Lab 7, myDAQ, LabVIEW.
ME 322: Instrumentation Lecture 17
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
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.
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
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
A/D Conversion and Interfacing Physics 270. Voltmeters.
Unit 4 Sensors and Actuators
Lecture 31 Electrical Instrumentation. Lecture 32 Electrical Instrumentation Electrical instrumentation is the process of acquiring data about one or.
Lecture161 Instrumentation Prof. Phillips March 14, 2003.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
ME 322: Instrumentation Lecture 20 March 6, 2015 Professor Miles Greiner myDAQ A/D converter, temperature uncertainty, First-order, centered numerical.
ME 322: Instrumentation Lecture 26 March 27, 2015 Professor Miles Greiner Radiation temperature errors, Lab 9.1 Sensors and instructions.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 12 Data Acquisition  Read Bishop, Chapter 8.  Lab #12 and Homework #12 due next week.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
ME 322: Instrumentation Lecture 5 January 28, 2015 Professor Miles Greiner Lab 3, transmitter characteristics, least-squares, standard error of the estimate.
ME 322: Instrumentation Lecture 23 March 13, 2015 Professor Miles Greiner Transient TC response, Modeling, Expected and observed behaviors, Lab 9, Plot.
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
ME 322: Instrumentation Lecture 22 March 11, 2015 Professor Miles Greiner.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Servo Motor Control Demonstration.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Servo Motor Control Demonstration. EML 2023 Department of Mechanical and Aerospace Engineering motor with gear reducer flex coupling incremental optical.
Digital to Analogue Converter
Professor: Dr. Miguel Alonso Jr.
Data Acquisition Systems
ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.
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.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 9 Computer-Based Instrumentation.
ME 322: Instrumentation Lecture 37 April 22, 2015 Professor Miles Greiner Proportional control characteristics, Shift register and integral control program.
Instrumentation Overview Spring 2012 The laboratory is a controlled environment where we can measure isolated physical phenomena with a view to eventual.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
ME 322: Instrumentation Lecture 38 April 24, 2015 Professor Miles Greiner Integral Control.
ME 322: Instrumentation Lecture 4 January 26, 2015 Professor Miles Greiner Had extra time, could add a few more slides next year Lab Guidelines and grading,
MECH 322 Instrumentation Performed: 03/15/06 Differentiation and Spectral Analysis of Discretely Sampled Signals Group 0 Pablo Araya Lab Instructors: Mithun.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
ME 322: Instrumentation Lecture 8 February 3, 2016 Professor Miles Greiner Lab 4, Propagation of Uncertainty, Maximum and likely, Power Product, Examples.
Toshiba IR Test Apparatus Project Ahmad Nazri Fadzal Zamir Izam Nurfazlina Kamaruddin Wan Othman.
ME 322: Instrumentation Lecture 36 April 20, 2015 Professor Miles Greiner Proportional Control.
Digital Measurements AOE 3054 Lowe Credits: Some excerpts developed by Devenport and Edwards, extracted from the course manual. 1.
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Characteristics of Instrumentation An instrument is a device that transforms a physical variable of interest (the measurand) into a form that is suitable.
MECH 373 Instrumentation and Measurements
EET 2259 Unit 12 Data Acquisition
Intro to USB-6009 DAQ.
ME 322: Instrumentation Lecture 35
ME 322: Instrumentation Lecture 36
EET 2259 Unit 12 Data Acquisition
Analog to Digital Data Conversion
MECH 373 Instrumentation and Measurements
Lesson 8: Analog Signal Conversion
Universiti Malaysia Perlis
Data Acquisition (DAQ)
Presentation transcript:

ME 322: Instrumentation Lecture 19 March 4, 2015 Professor Miles Greiner LabVIEW program, A/D converter characteristics, actual measured grounded output, Input resolution error

Announcements/Reminders Please fully participate in each lab and complete the Lab Preparation Problems For the final you will repeat one of the last three labs, solo, including performing the measurements, and writing Excel, LabVIEW and PowerPoint. The labs help prepare you for the final HW 7 due Friday Lab 6 (wind tunnel) this week Please see schedule on WebCampus and be on time Bring Excel from HW 6 How are things going in lab this week so far?

LabVIEW LabVIEW is available in the Engineering Computer Center (ECC) You can buy LabVIEW on the web for around $20, but you don’t have to http://www.studica.com/us/en/National-Instruments-students-ni-labview-mydaq/labview-student-edition/779252-02.html?utm_source=google&utm_medium=ppc&kpid=371806&gclid=COPM1Pym-bwCFdBqfgodUF4A4A If you purchases it, you will need to download and install DAQmx after installing LabVIEW to use the Measurement I/O icons we use in class http://www.ni.com/dataacquisition/nidaqmx

LabVIEW Five Main Acquisition Steps Measurement I/O, NI DAQmx Create a channel Timing Start Process Read Data analog waveform 1 Channel N-Samples Output voltage – convert to ̊ C Clear the test Programming; Dialog and User Interface simple error handler In this class we give and modify example LabVIEW programs. The intent is to help you quickly learn to perform data acquisition programing. However, we don’t deal with structured programming.

LabVIEW program

Computer Data Acquisition (DAQ) Sensors detect measurands and produce signals Voltages, currents, resistances, pulses,… Conditioners convert those output signals to moderately large voltages Multiplexer (MUX) sweeps channel-to-channel and feeds individual signals, at different times, to the Analog-to-Digital (A/D) converter A/D converter samples real voltages (7.674337…V) and converts them to integers (0, 1, 2,…) that the digital computer can work with. Computer programs store and/or process the data In ME 322: LabVIEW and DAQmx drivers

How “could” an A/D Converters work? VRL VRU t TS 2TS 3TS IOUT = 1 IOUT = 2 IOUT = 5 0 1 2 3 4 5 6 7 VMeasured One “method:” Saw Tooth Compare (not really used) Function generator produces ramps from VRL to VRU within period TS Converter break TS into M (= 2N, N = integer) equal sub-steps IOUT for each time step is the first sub-step when VST ≥ VMEASURED To interpret IOUT VDigitized = VRL + (IOUT +1/2)[(VRU-VRL)/M] ± (1/2)(VRU-VRL)/M Uncertainty decreases as M = 2N increase, and/or FS = VRU-VRL decreases Measurement is associated with center of time period Time uncertainty: ±TS/2

Characteristics of A/D Converters Full-scale range VRL ≤ V ≤ VRU FS = VRU - VRL For myDAQ the user can chose between two full-scale ranges ± 2 V, ± 10 V for Lab 7, 0 to 2.5 V, which range is used? Number of Bits (in its digital word) N The A/D converter breaks the full scale range into 2N sub-ranges For myDAQ, N = 16, 216 = 65,536 What does this mean? For example, a 2 bit word __ __ , in which each bit can be 0 or 1 Has 22 = 4 combinations: 00, 01, 10, 11 These are the digital signals (words) the A/D converter passes to the computer

Sampling Rate Sampling Frequency Sampling Period myDAQ fS = samples converted to digital per second [Hz] Sampling Period TS = 1/ fS; timed required to find IOUT myDAQ (fS)max = 200,000 Hz, TS = 0.000,005 sec = 5 msec User can chose lower rates If both channels are used, then (fS)max = ? Hz

myDAQ Absolute Voltage Uncertainty (0.11%FS) (0.19%FS) (0.12%FS) (0.22%FS) More information myDAQ user guide, page 36-38 http://wolfweb.unr.edu/homepage/greiner/teaching/MECH322Instrumentation/Labs/Lab%2007%20Boiling%20Water%20Temperature/Lab7%20Index.htm Demonstration Short myDAQ Analog Input 1 and observe signal What “should” the reading be when shorted? In my office: ±10 V range: V ~ -0.0008 to -0.0026 V = 1.7 ± 0.9 mV (0.009% FS) ±2 V range: V ~ -0.0003 to -0.0009 V = 0.6 ± 0.3 mV (0.02% FS) Is it larger at higher voltages? Same in class?

Example For a ±10 Volt, N = 2 bit A/D converter, what digitized voltages will it report for -∞ < V < +∞? M = 2N = __ sub-ranges Break input range into __ steps IOUT can be 0, 1, 2, 3 Step size = 𝑉 𝑅𝑈 − 𝑉 𝑅𝐿 𝑀 = 10𝑉 −(−10𝑉) 2 2 = 20𝑉 4 =5 𝑉 How do we interpret IOUT (VDigitized) and what is its uncertainty? A/D Converter Transfer Function

Input Resolution Error 𝐼𝑅𝐸= 1 2 𝐹𝑆 2 𝑁 = 𝑉 𝑅𝑈 − 𝑉 𝑅𝐿 2 𝑁+1 At edge of range 𝐼𝑅𝐸→∞ Don’t go there! (by design) IRE quantifies the random error from digitization process IRE decreases (improves) as N increases 𝐼𝑅𝐸 𝐹𝑆 = 1 2 𝑁+1 For N = 16, 𝐼𝑅𝐸 𝐹𝑆 = 1 2 17 =7.6× 10 −6 , IRE = 0.000,76%FS

A/D Converter Characteristics Full-scale range VRL ≤ V ≤ VRU FS = VRU - VRL For myDAQ the user can chose between two ranges ±10 V, ±2 V (FS = 4 or 20 V) Number of Bits N Resolves full-scale range into 2N sub-ranges Smallest voltage change a conditioner can detect: DV = FS/2N For myDAQ, N = 16, 216 = 65,536 ±10 V scale: DV = 0.000,31 V = 0.31 mV = 310 mV ±2 V scale: DV = 0.000,076V = 0.076mV = 76 mV Sampling Rate fS = 1/TS For myDAQ, (fS)MAX = 200,000 Hz, TS = 5 msec

Input Resolution Error The reported voltage is the center of the digitization sub-range in which the measured voltage is found to reside. So the maximum error is half the sub-range size. Inside the FS voltage range 𝐼𝑅𝐸= 1 2 𝐹𝑆 2 𝑁 = 𝑉 𝑅𝑈 − 𝑉 𝑅𝐿 2 𝑁+1 At edge or outside of FS range 𝐼𝑅𝐸→∞ To avoid this, estimate the range of voltage that must be measured before conducting an experiment, and choose appropriate A/D converter and/or signal conditioners. The IRE is the uncertainty caused by the digitization process

myDAQ Uncertainties What are these? AA: Maximum error of the voltage measurement reported by the manufacturer for all voltage levels At different temperatures MSVE: Maximum error measured at V = 0V for one device IRE: Random error due to digitization process Which one do you think characterizes voltage uncertainty?

Example (cont) Break Range into 4 Steps How to interpret Iout and its error 𝑉 𝑜𝑢𝑡𝐷 = 𝐼 𝑜𝑢𝑡 + 1 2 𝑉 𝑟𝑢 − 𝑉 𝑟𝑙 2 𝑁 + 𝑉 𝑟𝑙 = 𝐼 𝑜𝑢𝑡 + 1 2 5 𝑉 + −10 𝑉

Transfer Function First Order: Generic Where

Example

Second Order ζ ≡ damping ration ωn ≡ natural frequency without damping

Example

Second Order