Computerized Data Acquisition Systems. Chapter 4

Similar documents
Theoretical 1 Bit A/D Converter

Analog to Digital Conversion

Digital to Analog Conversion. Data Acquisition

P a g e 1. Introduction

Analog to digital and digital to analog converters

IES Digital Mock Test

Ch 5 Hardware Components for Automation

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

A-D and D-A Converters

CHAPTER ELEVEN - Interfacing With the Analog World

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Digital Logic Circuits

Linear Integrated Circuits

The need for Data Converters

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

FIRSTRANKER. 1. (a) What are the advantages of the adjustable voltage regulators over the fixed

Electronics A/D and D/A converters

EE251: Tuesday October 10

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Digital-to-Analog Converter

Fan in: The number of inputs of a logic gate can handle.

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Chapter 8. Chapter 9. Chapter 6. Chapter 10. Chapter 11. Chapter 7

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

Cornerstone Electronics Technology and Robotics Week 21 Electricity & Electronics Section 10.5, Oscilloscope

CONTENTS Sl. No. Experiment Page No

Introduction. BME208 Logic Circuits Yalçın İŞLER

Electronics II Physics 3620 / 6620

PC Digital Data Acquisition

Analogue to Digital Conversion

Analog to Digital Conversion

Data acquisition and instrumentation. Data acquisition

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps

Analogue to Digital Conversion

University of Pittsburgh

16.2 DIGITAL-TO-ANALOG CONVERSION

Analog to Digital (ADC) and Digital to Analog (DAC) Converters

Low Power Design of Successive Approximation Registers

Digital Design Laboratory Lecture 7. A/D and D/A

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

EE : ELECTRICAL ENGINEERING Module 8 : Analog and Digital Electronics INDEX

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

Outline. Analog/Digital Conversion

Data Acquisition: A/D & D/A Conversion

Data Converters. Lecture Fall2013 Page 1

Data Acquisition & Computer Control

*************************************************************************

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

Tel: Fax:

EECS 452 Midterm Exam Winter 2012

Analog to Digital Converters

EEE312: Electrical measurement & instrumentation

ECE SOURCE CODING - INVESTIGATION 16 INTRODUCTION TO PULSE CODE MODULATION

EE19D Digital Electronics. Lecture 1: General Introduction

IFB270 Advanced Electronic Circuits

Serial communication inverter. Lab bench scenario. Inverter Board, A/D, D/A, PWM, Filters, Encoders. Inverter board. and Dimmer introduction

PHYS225 Lecture 22. Electronic Circuits

Module 1: Introduction to Experimental Techniques Lecture 2: Sources of error. The Lecture Contains: Sources of Error in Measurement

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

10. Chapter: A/D and D/A converter principles

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800)

Considerations for Analog Input and Output

GENERATION OF SIGNALS USING LABVIEW FOR MAGNETIC COILS WITH POWER AMPLIFIERS

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU

1 Signals and systems, A. V. Oppenhaim, A. S. Willsky, Prentice Hall, 2 nd edition, FUNDAMENTALS. Electrical Engineering. 2.

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Time Varying Signals Chemistry 838

SIGMA-DELTA CONVERTER

PC-based controller for Mechatronics System

LINEAR IC APPLICATIONS

Analytical Chemistry II

Lab Exercise 6: Digital/Analog conversion

12-Bit Successive-Approximation Integrated Circuit A/D Converter AD ADC80

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

the elektor datasheet collection

Analog to Digital Conversion

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

Lecture 02: Digital Logic Review

Specifying A D and D A Converters

BINARY AMPLITUDE SHIFT KEYING

5 V Integrated High Speed ADC/Quad DAC System AD7339

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Low Cost 10-Bit Monolithic D/A Converter AD561

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

For the op amp circuit above, how is the output voltage related to the input voltage? = 20 k R 2

CHAPTER 6 DIGITAL INSTRUMENTS

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

SCXI 8-Channel Isolated Analog Input Modules

MECE 3320 Measurements & Instrumentation. Data Acquisition

Lecture 9, ANIK. Data converters 1

A/D Converter An electronic circuit that transforms an analog signal into a digital form that can be used by a computer or other digital circuits.

Transcription:

Computerized Data Acquisition Systems Chapter 4

Data Acquisition - Objectives State and discuss in terms a bright high school student would understand the following definitions related to data acquisition bits, resolution, range, sampling frequency, ADC, DAC, multiplexing, single-ended input, differential input Convert between equivalent digital and analog values for 8, 10, and 12 bit analog-to-digital converters using offset binary notation

Data Acquisition - Objectives Describe the operation of common type of analog-to-digital converters integrating successive approximation Use a LabView data acquisition module to simultaneously collect data from multiple sensors and write data to text file for offline plotting and analysis

Computerized Data Acquisition Systems Almost exclusively talking about computerized systems. Non-computerized systems do exist Few and far between Typically, at a minimum, data will be transferred to a computer for analysis and/or storage

Number Systems Decimal numbers: base-10 941,356 = Each digit can take one of 10 values: 0-90

Binary Numbers Computers are constructed of massive arrays of flip-flops The output of a flip-flop can be _ or _ Collections of flip-flops can be used to store (and manipulate) binary numbers Binary: base-_: each digit can be one of two values:

10111010 2 =? Binary Numbers

Conversion from Decimal to Binary

Computer Interface Terminology Bits: The number of digits in a binary number. A 1 bit binary number is either 0 or 1, a 2 bit binary number is either 00, 01, 10, or 11, etc. An N bit binary number can have 2 N different values. Hex (or hexadecimal): Digital values expressed in base 16. Note that 1 hex digit is exactly 4 binary digits. 1AE 16 =? FF 16 =?

Binary Numbers: Who Cares? Sample 0-5 V signals with your computer and convert the voltages to 3-bit binary numbers:

Resolution affects Accuracy From http://www.cyberresearch.com/cyb/cybtechtut.htm

Quantization of Signals Digitization of signals limitation Improved resolution achieved with higher bit counts: Suppose you want < 1mV resolution on a 0-5 V signal. How many bits do you need to store all possible numbers?

Sampled-Data Systems Computers are event-driven systems Addition, subtraction, multiplication, and division, all performed only at specific time intervals Clock-driven system: rising edges of the clock pulses are the events that drive/synchronize the operations of the computer. So

Quantization and Sampling of Signals

Quantization and Sampling of Signals

Chapter 4 - Data Acquisition From http://www.cyberresearch.com/cyb/cybtechtut.htm

Computer Interface Terminology D/A converter (or DAC): Digital to Analog converters are used to map a finite number of integer values onto a physical output range (usually a voltage) A/D converter (or ADC): Analog to Digital converters are used to convert continuous physical signals (usually voltages) into equivalent digital or binary numbers.

Computer Interface Terminology Range: The difference between the upper (V ru ) and lower (V rl ) analog voltages that can be accurately converted to binary. Common ranges are +5 volts (10 V range), 0 to +10 V (10 V range), and +10 volts (20 V range). Resolution: Amount of analog voltage equivalent to a single binary bit = (V ru -V rl ) / 2 N resolution of 12 bit A/D with a + 5 V range

D/A Converter R/2R ladder used V out R R closing switches gives output voltages 2R 2R 2R 2R S2 S1 S0 V out 1 0 0 4/8 V in 0 1 0 2/8 V in 0 0 1 1/8 V in 0 0 0 0 V in S2 S1 S0 1 0 1 0 1 0

Integrating / Dual Slope ADC integrate input signal, V in, for known period then integrate known voltage, -V ref to zero C V in R - V I comparator - -V ref + + Control Logic and clock

Integrating / Dual Slope ADC integrate input signal, V in for known period integrate voltage (-V ref ) for unknown period V I large V in small V in known period unknown period - proportional to V in

A/D Converter - Successive Approximation V in N+1 bit D/A Converter comparator + - V ref Control Logic

A/D Converter - Successive Approximation DAC is used to sequentially guess bits N, N-1, N- 2, 1, 0 as 1 s output of D/A is compared to input voltage keep current bit a 1 if V in > V DAC current approximation is lower than actual set current bit to 0 if V in < V DAC current approximation is higher than actual all previously set bits are maintained as the next bit is guessed as a 1

Successive Approximation

Offset Binary 3 Bit A/D Converter Digital (Binary) Output 111 2 110 2-5V -3.75V -2.5V -1.25V 101 2 100 2 +1.25V 011 2 +2.5V +3.75V +5V Analog Voltage Input 010 2 001 2 000 2

ADC Formulas (p. 81) Digital output from offset binary ADC: D o = Nominal value of analog input: V in =

Example #1 Given a 12 bit, + 5V ADC, what is the nominal voltage for a digital value of 1000? V nom = What range of input voltages would all be converted to the digital value of 1000? resolution=

Example #2 Given a 10 bit, 0 to 10 V ADC, what is the nominal voltage for a digital value of 763? V nom = What range of input voltages would all be converted to the digital value of 763? resolution=

Example #3 Given a 12 bit, +10V ADC, what digital value D o would V in = +5.623V convert to? D o = Given an 8 bit, 0 to 5V ADC, what digital value D o would V in = 1.234V convert to? D o =

Computer Interface Terminology Multiplexer : a switching" device to connect different analog signals to the same ADC 8 or 16 different analog inputs common, single-ended or differential inputs used, inputs often amplified near multiplexer

Computer Interface Terminology Single-Ended Inputs : All inputs use the same ground, so only 1 switch needed per signal generally all signals must be of the same type Differential Inputs : Each input signal has its own separate ground, so two switches are required for each signal - one for signal and one for common/ground.

Single-Ended Multiplexer All 16 inputs must have the same ground (common) From http://www.cyberresearch.com/cyb/cybtechtut.htm

Differential Input Multiplexer From http://www.cyberresearch.com/cyb/cybtechtut.htm + E 0 - + E 7- Must be careful with these All 8 inputs can have different grounds (commons)

Typical Connect inputs here DAQ System (inside computer)

National Instruments PCI-MIO-16E-4 Board 12 bit resolution (~2.4 mv/bit) accuracy specs on manufacturer s datasheet + 10 volts full scale input (bipolar) offset binary coding 8 channel differential input multiplexer maximum single channel sampling rate of 500 khz (500,000 samples/sec) maximum multi-channel sampling rate of 250 khz (250,000 samples/sec)

Sources of Additional Info Analog Input/Output (from Omega Transactions Vol II) Tutorials and Applications Notes from National Instruments (www.ni.com) Go browse the web!