Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 12 Data Acquisition  Read Bishop, Chapter 8.  Lab #12 and Homework #12 due next week.

Slides:



Advertisements
Similar presentations
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Advertisements

Interfacing to the Analog World
Thomas L. Floyd Digital Fundamentals, 9e
EET 252 Digital Systems II Professor Nick Reeder.
LabVIEW 7.1 Tutorial. Measurement Lab. MECH262-MECH261 Imran Haider Malik January 16, 2006.
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC)  Read.  Homework #13 and Lab #13 due next week. 
Figure 8–1 A 2-bit asynchronous binary counter
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 10 Clusters and Matrices  Read Bishop, Sections 6.4 to  Lab #10 and Homework #10 due next week.
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.
EET 252 Unit 6 Analog-to-Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
Data Acquisition Risanuri Hidayat.
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.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
EET 252 Unit 7 Digital-to-Analog Conversion
Figure 2–1 Illustration of a simple binary counting application. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
Introduction to LabVIEW 8.5
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
EET 110 – Survey of Electronics Chapter 3. Lab Measurements Lab 2-2 – Resistor Color Code –Use the text to determine value –Use care in interpreting the.
© 2012 Pearson Education. Upper Saddle River, NJ, All rights reserved. Electronic Devices, 9th edition Thomas L. Floyd Electronic Devices Ninth.
Chapter 1 Number Systems and Codes William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 4 SubVIs  Read Bishop, Chapter 4.  Lab #4 and Homework #4 due next week.
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
Virtual Instrumentation With LabVIEW
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 13 Strings and File I/O  Read Bishop, Chapter 9.  Lab #13 and Homework #13 due next week.
Figure 5–1 An example of AND-OR logic. Open file F05-01 to verify the operation. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education,
EKT314/4 Electronic Instrumentation
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
EKT314/4 Electronic Instrumentation
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
CHAPTER 1 Transducers, Signals, and Signal Conditioning Topics Data Acquisition Overview Transducers Signals Signal Conditioning Lesson 8 Data.
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Lecture 1 Introduction to Electronics Rabie A. Ramadan
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 15.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
LSU 06/04/2007Electronics 61 Data Acquisition Electronics Unit – Lecture 6 Sensors and Transducers Signal conditioning Data sampling and recording.
©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
Data Acquisition Systems
LabVIEW and MatLab E80 Teaching Team February 5, 2008.
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.
Number Systems and Codes
Introduction to LabVIEW 8.5
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 1P. 1Winter Quarter Data Acquisition System Fundamentals Lab 1.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 9 Arrays  Read Bishop, Sections 6.1 to 6.3.  Homework #9 and Lab #9 due next week.  Quiz #5 next.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
Advanced Engine Performance Diagnosis, Fourth Edition James D. Halderman Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey.
Figure A--1 Thomas L. Floyd Digital Fundamentals, 8e Copyright ©2003 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
2/June/2009LHCb Upgrade1 Single ended ADC Differential ADC –Convert single ended signal to differential (use AD8138 amp) –ASIC differential output ADC.
Introduction to LabVIEW
A Presentation on Mr. SAJID NAEEM M.SC – Electronics (UOP) PG-DEP (C-DAC)
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Lecture Notes / PPT UNIT III
EET 2259 Programming for Electronics Technology Professor Nick Reeder.
MECH 373 Instrumentation and Measurements
Operational Amplifiers
EET 2259 Unit 12 Data Acquisition
Chapter 8 Data Acquisition
EET 2259 Unit 12 Data Acquisition
הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
הודעות ריענון מהיר והרחבות דגימת אות Low-Level
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC) Read. Homework #13 and Lab #13 due next week. Quiz.
Data Acquisition (DAQ)
Presentation transcript:

Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 12 Data Acquisition  Read Bishop, Chapter 8.  Lab #12 and Homework #12 due next week.

Floyd, Digital Fundamentals, 10 th ed Data Acquisition  The text’s Chapter 8 covers several kinds of material: Data acquisition hardware (Sections 8.1 to 8.5): Not much on LabVIEW in these sections. LabVIEW data acquisition without the DAQ Assistant (Sections 8.6 to 8.8): This is how you had to do it before LabVIEW version 7.0, and how some people still prefer to do it. LabVIEW data acquisition using the DAQ Assistant (Sections 8.9 to 8.12): You’re already familiar with much of this.

Floyd, Digital Fundamentals, 10 th ed Data Acquisition Hardware  Outline: Components of a DAQ System (§8.1) Types of Signals (§8.2) Transducers and Signal Conditioning (§8.3) Signal Grounding and Measurements (§8.4) Analog-to-Digital Conversion (§8.5)  Each of these topics could occupy us for a week, so we’ll just hit the high points.  For lots more detail, see NI’s website: LabVIEW Measurements Manual LabVIEW Measurements Manual Measurement Fundamentals Main Page

Floyd, Digital Fundamentals, 10 th ed Components of a DAQ System (§8.1) Image from NI’s websitewebsite

Floyd, Digital Fundamentals, 10 th ed Types of Signals (§8.2) Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Transducers and Signal Conditioning (§8.3)  A transducer (or sensor) is a device that converts a physical quantity (such as temperature, pressure, light intensity, …) to an electrical signal (such as voltage or current).

Floyd, Digital Fundamentals, 10 th ed Some Common Transducers Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Signal Conditioning  In many cases the electrical signal coming from the transducer must be conditioned in some way before it is converted into digital format for use by the computer.  Examples of signal conditioning include: Amplifying a weak signal Filtering out noise from the signal

Floyd, Digital Fundamentals, 10 th ed Signal Conditioning For Some Transducers Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Signal Grounding and Measurements (§8.4)  Signal sources can be either: Grounded (also called referenced) Floating (also called non-referenced)

Floyd, Digital Fundamentals, 10 th ed Grounded Signal Source  Examples: Function generator or power supply whose negative terminal is tied to earth ground through the power cord. Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Floating Signal Source  Examples: Our red trainer’s function generator or power supply, whose negative terminal is not tied to earth ground through the power cord. Battery-powered devices Transformers Thermocouples Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Measurement System Configuration  Measurement systems can be configured as either: Differential Referenced Single-Ended (RSE) Non-Referenced Single-Ended (NRSE)  The PCI-6221 cards inside our computers can be configured in any of these modes.  The myDAQ can only be configured in differential mode.

Floyd, Digital Fundamentals, 10 th ed Differential Measurement System Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Referenced Single-Ended (RSE) Measurement System Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Non-Referenced Single-Ended (NRSE) Measurement System Image from LabVIEW Measurements ManualLabVIEW Measurements Manual

Floyd, Digital Fundamentals, 10 th ed Matching Signal Grounding to Measurement Configuration Image from LabVIEW Measurements ManualLabVIEW Measurements Manual. See also pages of NI myDAQ User Guide and Specifications.NI myDAQ User Guide and Specifications See also NI tutorial on Ground Loops and ReturnsGround Loops and Returns.

Floyd, Digital Fundamentals, 10 th ed Analog-to-Digital Conversion (§8.5)  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.

Floyd, Digital Fundamentals, 10 th ed The ADC periodically samples the analog signal, and converts each sampled value of the analog signal into a binary code. An ADC’s sampling rate tells how often the circuit “takes a snapshot” of the signal being digitized. It’s expressed either as number of samples per second or as a frequency. Example: 1000 samples/sec or 1 kHz. Sampling Rate

The more bits that are used to represent the value of each smaple, the better the ADC’s resolution is. Better resolution results in a more accurate representation of the original signal. The following slides (from Floyd’s Digital Electronics) show an example of how using 4 bits results in much better resolution than using 2 bits. Number of Bits and Resolution

Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas L. Floyd Figure 12.8 Light gray = original waveform. Blue = Reconstructed waveform using four quantization levels (2 bits).

Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas L. Floyd Figure Light gray = original waveform. Blue = Reconstructed waveform using sixteen quantization levels (4 bits).

There are several common ways of specifying an ADC’s resolution: Number of bits, n Number of output codes, = 2 n Step size (which Bishop calls code width), = V ref / 2 n Resolution

Resolution: Examples Formula4-bit ADC10-bit ADC Number of bits n 4 Number of output codes 2n2n 16 Step size (assuming 5 V reference voltage) V ref / 2 n mV

Let’s find the resolution and sampling rate for the ADCs inside our equipment. NI myDAQ User Guide and Specifications NI PCI-6221 Specifications Specs for Our Equipment

LabVIEW Data Acquisition without the DAQ Assistant (§§8.6 – 8.8)  Before the DAQ Assistant was introduced, LabVIEW programmers had to use the functions on the Measurement I/O > NI-DAQmx palette to perform data acquisition.

Express VIs  Express VIs (the DAQ Assistant is one example) were introduced in LabVIEW 7.0.  They provide user-friendly ways to do things that you could also do using other LabVIEW functions and subVIs.

Seeing the Code Hidden Inside an Express VI  You can convert an Express VI to standard LabVIEW code by right- clicking and selecting “Open Front Panel.”  In the case of a DAQ Assistant, you can also right-click and select “Generate NI-DAQmx Code.”

LabVIEW Data Acquisition with the DAQ Assistant (§§8.9 – 8.12)  You already know much of what is discussed in these sections, since you’ve been using the DAQ Assistant since the start of this class.  Read these sections to review and strengthen your knowledge.