Interfacing to the Analog World

Slides:



Advertisements
Similar presentations
FIGURE 7.1 Elements of the final control operation.
Advertisements

Chapter 14 Feedback and Oscillator Circuits
FIGURE 11.1 Circuit for Example 11.1.
FIGURE 12.1 Two variable process-control loops that interact.
FIGURE 9.1 Control of temperature by process control.
FIGURE 10.1 Typical physical appearance of a controller.
FIGURE 4. 1 Energy bands for solids
FIGURE 3.1 System for illustrating Boolean applications to control.
Curtis Johnson Process Control Instrumentation Technology, 8e]
FIGURE 2.1 The purpose of linearization is to provide an output that varies linearly with some variable even if the sensor output does not. Curtis.
FIGURE 8.1 Process and controller.
Chapter 18 The 8051 Microcontroller
Figure 12–1 Basic computer block diagram.
Exclusive-OR and Exclusive-NOR Gates
FIGURE 18-1 Rheostat-controlled lamp circuit. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper.
FIGURE 17-1 Binary-to-decimal conversion. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle.
FIGURE 15-1 Sound system feedback. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle River,
FIGURE 12-1 PNP transistor symbol and crystal structure.
Counter Circuits and Applications
FIGURE 12-1 Op-amp symbols and packages.
Interfacing to the Analog World
Chapter 11 Practical Considerations for Digital Design William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
Chapter 13 Shift Registers
Thomas L. Floyd Digital Fundamentals, 9e
Multivibrators and the 555 Timer
Chapter 10 Operational Amplifier Theory and Performance  Modeling an Operational Amplifier  Feedback Theory o Feedback in the Noninverting Amplifier.
Analog-to-Digital Converter (ADC) And
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC)  Read.  Homework #13 and Lab #13 due next week. 
Sensors Interfacing.
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
Digital to Analogue Conversion
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
Lecture 9: D/A and A/D Converters
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Chapter 3 Basic Logic Gates
Synchronous Sequential Circuit Design Digital Clock Design.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 12 Data Acquisition  Read Bishop, Chapter 8.  Lab #12 and Homework #12 due next week.
Chapter 1 Number Systems and Codes William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Synchronous Sequential Circuit Design
Arithmetic Operations and Circuits
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
Electronic Devices Ninth Edition Floyd Chapter 13.
EKT314/4 Electronic Instrumentation
EKT314/4 Electronic Instrumentation
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
© 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.
Chapter 2 Digital Electronic Signals and Switches Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
INTERFACE WITH ANALOG WORLD
Data Acquisition Systems
Number Systems and Codes
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Copyright ©2011 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Introduction to Engineering Experimentation, Third.
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.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
MECH 373 Instrumentation and Measurements
Figure 4.1 Computerized data-acquisition system.
EI205 Lecture 13 Dianguang Ma Fall 2008.
Digital Control Systems Waseem Gulsher
Conversation between Analogue and Digital System
Chapter 7 Converters.
Presentation transcript:

Interfacing to the Analog World Chapter 15 Interfacing to the Analog World William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Digital and Analog Representations See Figure 15-1 Four binary positions = 4-bit resolution 16 different representations Eight binary positions = 8-bit resolution 256 different representations William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-1 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Operational Amplifier Basics Very high input impedance Very high voltage gain Very low output impedance See Figure 15-2 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-2 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Binary-Weighted Digital-to-Analog Converters Sum of the currents from the input resistors Binary weighting factor See Figure 15-4 Accurate resistances is difficult Practical for 4-bit conversions maximum William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-4 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

R/2R Ladder Digital-to-Analog Converters Only two resistor values 8, 10, 12, 14, 16 bits and higher resolutions See Figure 15-5 R/2R ladder See Figure 15-7 analog output versus digital input William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-5 Figure 15-7 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Integrated-Circuit Digital-to-Analog Converters DAC0808 See Figure 15-8 block diagram pin configuration typical application See Figure 15-9 testing the 256-step output William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-8 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-9 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

IC Data Converter Specifications See Figure 15-10 differential nonlinearity gain error missing codes nonmonotonic offset error relative accuracy settling time 3-bit ADC transfer characteristic William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-10 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-10 (continued) William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Parallel-Encoded Analog-to-Digital Converters Parallel encoding simultaneous multiple comparator flash See Figure 15-11 three-bit parallel encoded ADC priority encoder William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-11 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Counter-Ramp Analog-to-Digital Converters Counter in conjunction with a D/A converter See Figure 15-12 For continuous conversions end-of-conversion line back to clear input Disadvantage slow conversion time speed depends on steps necessary to convert William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-12 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Successive-Approximation Analog-to-Digital Conversion See Figure 15-13 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-13 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Integrated-Circuit Analog-to-Digital Converters NE5034 See Figure 15-15 block diagram pin configuration Successive-Approximation Three-state output buffer William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-15 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Integrated-Circuit Analog-to-Digital Converters ADC 0801 See Figure 15-17 block diagram pin configuration successive-approximation differential measurements William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-17 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Data Acquisition System Application See Figure 15-19 Analog Multiplexer Switch (AM3705) Sample-and-Hold Circuit (LF198) Programmable-Gain Instrumentation Amplifier (LH0084) Analog-to-Digital Converter (ADC0801) William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-19 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Transducers and Signal Conditioning Physical quantities to electrical quantities Must be conditioned Thermistors resistance dependant on temperature response is nonlinear See Figure 15-20 - characteristic curve See Figure 15-21 - circuit William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Figure 15-20 Figure 15-21 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Transducers and Signal Conditioning Linear IC Temperature Sensors See Table 15-3 - temperature versus binary output The Strain Gage resistance changes when stretched William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary Any analog quantity can be represented by a binary number. Longer binary numbers provide higher resolution, which gives a more accurate representation of the analog quantity. The binary-weighted D/A converter is the simplest to construct, but it has practical limitations in resolution (number of input bits). William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary Operational amplifiers are important building blocks in analog-to-digital (A/D) and digital-to-analog (D/A) converters. They provide a means for summing currents at the input and converting a current to a voltage at the output of converter circuits. The R/2R ladder D/A converter uses only two different resistor values, no matter how many binary input bits are included. This allows for very high resolution and ease of fabrication in integrated-circuit form. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary The DAC0808 (or MC1408) IC is an 8-bit D/A converter that uses the R/2R ladder method of conversion. It accepts 8 binary input bits and outputs an equivalent analog current. Having 8 input bits means that it can resolve up to 256 unique binary values into equivalent analog values. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary Applying an 8-bit counter to the input of an 8-bit D/A converter will produce a 256-step sawtooth waveform at its output. The simplest way to build an analog-to-digital (A/D) converter is to use the parallel encoding method. The disadvantage is that it is practical only for low-resolution applications. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary The counter-ramp A/D converter employs a counter, a D/A converter, and a comparator to make its conversion. The counter counts from zero up to a value that causes the D/A output to exceed the analog input value slightly. That binary count is then output as the equivalent to the analog input. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary The method of A/D conversion used most often is called successive approximation. In this method, successive bits are tested to see if they contribute an equivalent analog value that is greater than the analog input to be converted. If they do, they are returned to zero. After all bits are tested, the ones that are left ON are used as the final digital equivalent to the analog input. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary The NE5034 and the ADC0804 are examples of A/D converter ICs. To make a conversion, the start-conversion pin is made LOW. When the conversion is completed the end-of-conversion pin goes LOW. Then to read the digital output, the output enable pin is made LOW. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Summary Data acquisition systems are used to read several different analog inputs, respond to the values read, store the results, and generate reports on the information gathered. Transducers are devices that convert physical quantities such as heat, light, or force into electrical quantities. Those electrical quantities must then be conditioned (or modified) before they can be interpreted by a digital computer. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.