Digital Electronics and Computer Interfacing

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Analog to Digital Conversion (ADC)
Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Data Acquisition ET 228 Chapter
Digital to Analogue Conversion Chapter 13. Why is conversion needed? Most signals in the world are analogue. Microprocessors and most computers computers.
EET 252 Unit 6 Analog-to-Digital Conversion
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
Digital to Analog and Analog to Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
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.
Data Acquisition Risanuri Hidayat.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
ADC and DAC. Reason for Signal Conversion digital AD2 DA1.
Lecture 9: D/A and A/D Converters
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
 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
Analogue Input/Output
Digital to Analog Converters
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
Digital to Analog and Analog to Digital Conversion
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Digital to Analog Converters
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Chapter 13 Linear-Digital ICs. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Electronic Devices.
Servo Motor Control Demonstration.
Analog to Digital Converters (ADC) 1
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Servo Motor Control Demonstration. EML 2023 Department of Mechanical and Aerospace Engineering motor with gear reducer flex coupling incremental optical.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
AD/DA Conversion Techniques - An Overview J. G. Pett  Introductory tutorial lecture for :- ‘Analogue and digital techniques in closed-loop regulation.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
Digital Multimeter Introduction 2) DIGITAL MULTIMETER Digital multimeters offer higher accuracy and input impedance, unambiguous readings at greater viewing.
Capacitive transducer. We know that : C=kЄ° (A/d) Where : K=dielectric constant Є° =8.854 *10^-12 D=distance between the plates A=the area over lapping.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
Digital Voltmeter (DVM)
Analog/Digital Conversion
Comparators, DAC, and ADC
Computer operation is of how the different parts of a computer system work together to perform a task.
Digital to Analog Converter (DAC)
16722 Mo: data acquisition150+1 data acquisition.
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
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.
Digital-to-Analog Analog-to-Digital
Task 2: Define digital and analogue signals
Digital Instrumentation Topics Multimeters Digital Multimeters (DMMs) Specifications (Display,Accuracy, Resolution) Meter Applications.
Lecture Notes / PPT UNIT III
Electronic Devices and Circuit Theory
MECH 373 Instrumentation and Measurements
Digital-to-Analog Analog-to-Digital
SCADA for Remote Industrial Plant
EI205 Lecture 13 Dianguang Ma Fall 2008.
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Universiti Malaysia Perlis
Analog and Digital Instruments
Data Acquisition (DAQ)
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:

Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards

5.5 Analog to Digital conversion 5.5.1 Comparator Device that compares two Voltages and switches its output to indicate which one is larger An OP-Amp can be used as a comparator: VSupl. + VSupl. - V1 V2 Vout Digital Electronics and Computer Interfacing

5.5.2 Direct conversion (flash) ADC Vref=3 V Comparator output HIGH for Vin>Vi R V3 VSupl. - 3 2R VSupl.+ V2 VSupl. - 2 2R VSupl.+ V1 VSupl. - 1 R VSupl.+ Advantage: Speed - conversion typically takes about 10 ns! Vin 5 V Disadvantage: Large number of comparators! Digital Electronics and Computer Interfacing

5.5.2 Successive approximation Input signal Vin is compared (using a comparator) with a signal VDAC generated by a DAC Approximate Vin by successively setting the bits of the DAC: Turn off all bits Turn on most significant bit if Vin > VDAC leave the bit on otherwise turn it off again Turn on the next significant bit if Vin > VDAC leave the bit on otherwise turn it off again … For an n-bit ADC it takes n-steps to converge to the final result Time for conversion: of the order of s Digital Electronics and Computer Interfacing

5.5.3 Single slope integration Start ramp generator (constant current source & capacitor) together with a counter that counts clock pulses When the ramp voltage equals the input Voltage a comparator stops the counter Number of clock pulses counted is proportional to the input Voltage Resolution depends on the clock-frequency: the higher the clock-frequency the better the resolution More bits for the counter needed for higher resolution Stable clock needed Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing Tim Mewes 6. Computer Interfacing – GPIB bus

Digital Electronics and Computer Interfacing 6.1 GPIB bus Digital communication standard for test and measurement devices Initially developed by Hewlett-Packard (HP), also known as HP-IB (Hewlett-Packard Instrument Bus) GPIB (General Purpose Instrumentation Bus) IEEE-488.x (IEEE Standard Digital Interface for Programmable Instrumentation x:1 or 2) 8-bit parallel communication data transfer rates up to 1 Mbyte/s One System Controller (PC) up to 15 additional instruments Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.2 GPIB commands Over the years three levels of standardization developed IEEE 488.1 IEEE 488.2 SCPI: Standard Commands for Programmable Instruments highest level – devices using SCPI commands are easily to exchange For example: all Voltmeters using SCPI will respond to the same command Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.3 GPIB and LabVIEW GPIB write sends the specified data string to the device referenced by the address string The address string consists of the primary and secondary address of the device in the format primary+secondary (use MAX to determine those) Both primary and secondary address can range from 0-30 Example: for a primary address “0” and secondary address “10” use 0+10 as the address string The data string depends on the device – use its manual to determine the string for a particular command Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.3 GPIB and LabVIEW GPIB read reads byte count number of bytes from the device referenced by the address string The command terminates when the specified number of bytes is read or when a Carriage Return/Line Feed character is received The data string holds the string received from the instrument – typically this string needs to be processed Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.3 GPIB and LabVIEW GPIB query first sends a command and then reads the response of the instrumentquery Query commands typically end with a question mark: ? Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.4 GPIB examples HP 54200 digitizing Oscilloscope Display message: Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.4 GPIB examples HP 54200 digitizing Oscilloscope Set the timebase: Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.4 GPIB examples HP 54200 digitizing Oscilloscope Set the timebase: Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.4 GPIB examples HP 54200 digitizing Oscilloscope Query voltage of a specified point: Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.5 GPIB using MAX Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.5 GPIB using MAX Digital Electronics and Computer Interfacing

Digital Electronics and Computer Interfacing 6.5 GPIB using MAX Digital Electronics and Computer Interfacing