 Both data about the physical world and control signals sent to interact with the physical world are typically "analog" or continuously varying quantities.

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.
Sensors Interfacing.
Digital to Analogue Conversion
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
Digital to Analog and Analog to Digital Conversion
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
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.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Lecture 9: D/A and A/D Converters
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
ADC. A/D converter (Analog/Digital converter) A device that converts continuously varying analog signals from instruments and sensors that monitor conditions,
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.
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
 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
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog and Analog to Digital Conversion
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
Digital to Analog Converters (DAC) 1
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
ADC & DAC Signal Conversions.
Analog to Digital Converters (ADC) 1
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
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
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
High Speed Analog to Digital Converter
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
©F.M. Rietti Components Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Active Components (cont) Comparator –if V2 > V1 the.
Analog/Digital Conversion
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
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.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Digital-to-Analog Analog-to-Digital
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Electronic Devices and Circuit Theory
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
Electronic Devices Ninth Edition Floyd Chapter 13.
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 13 Linear-Digital ICs
Principles & Applications
Digital-to-Analog Analog-to-Digital
Analog to Digital Converters Electronics Unit – Lecture 7
Analogue to Digital Conversion
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Conversation between Analogue and Digital System
Analog-to-digital converter
Chapter 7 Converters.
Presentation transcript:

 Both data about the physical world and control signals sent to interact with the physical world are typically "analog" or continuously varying quantities.  In order to use the power of digital electronics, one must convert from analog to digital form on the experimental measurement end and convert from digital to analog form on the control or output end of a laboratory system.

 Analog output is typical of most transducers and sensors.  Need to convert these analog signals into a digital representation so the microcontroller can use it.  Some characteristics of analog signals.  Maximum and minimum voltages  Precise continuous signals  Rate of voltage change  Frequency if not a steady state signal 5/19/2019ECE2655

 Representing a continuously varying physical quantity by a sequence of discrete numerical values. PNJ 10/28/2004Telekomunikasi

 Ramp ADC  Successive Approximation  Flash Comparison PNJ 10/28/2004Telekomunikasi 27

 The basic principle of operation is to use the comparator principle to determine whether or not to turn on a particular bit of the binary number output.  It is typical for an ADC to use a digital-to- analog converter (DAC) to determine one of the inputs to the comparator.

 Most A-D converters use a comparator as part of the conversion process  A comparator compares 2 signals A and B ▪ if A > B the comparator output is in one logic state (1, say) ▪ if B > A then it is in the opposite state (0, say)  A comparator can be built using an op amp with no feedback

 3 Basic Types  Digital-Ramp ADC  Successive Approximation ADC  Flash ADC

 Conversion from analog to digital form inherently involves comparator action where the value of the analog voltage at some point in time is compared with some standard.  A common way to do that is to apply the analog voltage to one terminal of a comparator and trigger a binary counter which drives a DAC.

PNJ 10/28/2004Telekomunikasi 212

 The output of the DAC is applied to the other terminal of the comparator.  Since the output of the DAC is increasing with the counter, it will trigger the comparator at some point when its voltage exceeds the analog input.  The transition of the comparator stops the binary counter, which at that point holds the digital value corresponding to the analog voltage.

 Conversion from analog to digital form inherently involves comparator action where the value of the analog voltage at some point in time is compared with some standard.  A common way to do that is to apply the analog voltage to one terminal of a comparator and trigger a binary counter which drives a DAC.

PNJ 10/28/2004Telekomunikasi 215

 Much faster than the digital ramp ADC because it uses digital logic to converge on the value closest to the input voltage.  A comparator and a DAC are used in the process.

Successive-Approximation A/D Successive Approximation Register D/A Converter V ref clock analog input Digital Output Data At initialization, all bits from the SAR are set to zero, and conversion begins by taking STRT line low. comparator STRT

Successive Approximation Register D/A Converter V ref clock analog input Digital Output Data comparator STRT Successive-Approximation A/D First the logic in the SAR sets the MSB bit equal to 1 (+5 V). Remember that a 1 in bit 7 will be half of full scale.

Successive Approximation Register D/A Converter V ref clock analog input Digital Output Data comparator STRT Successive-Approximation A/D The output of the SAR feeds the D/A converter producing an output compared to the analog input voltage. If the D/A output is < Vin then the MSB is left at 1 and the next bit is then tested.

Successive Approximation Register D/A Converter V ref clock analog input Digital Output Data comparator STRT Successive-Approximation A/D If the D/A output is > Vin then the MSB is set to 0 and the next bit is set equal to 1.

Successive bits are set and tested by comparing the DAC output to the input V in in an 8 step process (for an 8-bit converter) that results in a valid 8-bit binary output that represents the input voltage.

CLOCK PERIOD ¼FS ½FS ¾FS analog input voltage D/A output for 8-bit conversion with output code

Successive approximation search tree for a 4-bit A/D D/A output compared with V in to see if larger or smaller

Note that the successive approximation process takes a fixed time - 8 clock cycles for the 8-bit example. For greater accuracy, one must use a higher bit converter, i.e. 10-bit, 12-bit, etc. However, the depth of the search and the time required increases with the bit count.

PNJ 10/28/2004Telekomunikasi 225 If N is the number of bits in the output word…. Then 2 N comparators will be required.

 It is the fastest type of ADC available, but requires a comparator for each value of output. (63 for 6-bit, 255 for 8-bit, etc.)  Such ADCs are available in IC form up to 8-bit and 10-bit flash ADCs (1023 comparators) are planned.  The encoder logic executes a truth table to convert the ladder of inputs to the binary number output. Illustrated is a 3-bit flash ADC with resolution 1 volt

 The resistor net and comparators provide an input to the combinational logic circuit, so the conversion time is just the propagation delay through the network - it is not limited by the clock rate or some convergence sequence.

 Misalkan bilangan biner dengan n bit digunakan untuk mewakili nilai analog mulai dari 0 ke A  There are 2 n possible numbers  Resolution = A / 2 n  FS = (2 n -1) step size PNJ 10/28/2004Telekomunikasi 228

 Temperature range of 0 K to 300 K to be linearly converted to a voltage signal of 0 to 2.5 V, then digitized with an 8-bit A/D converter  2.5 / 2 8 = V, or about 10 mV per step  300 K / 2 8 = 1.2 K per step PNJ 10/28/2004Telekomunikasi 229

 Temperature range of 0 K to 300 K to be linearly converted to a voltage signal of 0 to 2.5 V, then digitized with a 10-bit A/D converter  2.5 / 2 10 = V, or about 2.4 mV per step  300 K / 2 10 = 0.29 K per step PNJ 10/28/2004Telekomunikasi 230

 Setiap konversi memiliki ketidakpastian rata-rata setengah ukuran langkah ½ (A / 2N) PNJ 10/28/2004Telekomunikasi 231

 Waktu yang dibutuhkan untuk memperoleh sampel dari sinyal analog dan menentukan representasi numerik. PNJ 10/28/2004Telekomunikasi 232