Digital to Analogue Conversion

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Interfacing to the Analog World
D. De Venuto,Politecnico di Bari 0 Data Converter.
Analog to Digital Conversion (ADC)
Analog-to-Digital Converter (ADC) And
Sensors Interfacing.
Digital to Analogue Conversion Chapter 13. Why is conversion needed? Most signals in the world are analogue. Microprocessors and most computers computers.
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.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Lecture 9: D/A and A/D Converters
10/23/2003ME DAC Lecture1 DAC Sunij Chacko Pierre Emmanuel Deliou Thomas Holst Used with modification.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Previous Lecture 12 Voltage Dividers with Resistive loads.
EET260: A/D and D/A converters
Digital Signal Processing (DSP) Fundamentals. Overview What is DSP? Converting Analog into Digital –Electronically –Computationally How Does It Work?
Analogue Input/Output
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog Converters
Digital to Analog and Analog to Digital Conversion
Digital to Analog Converters
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Data Acquisition Systems
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Digital Voltmeter (DVM)
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.
DATA ACQUSITION SYSTEMS. 1.Analog Representation. In analog representation, one quantity is represented by another one, which is proportional to the first.
Basic Op-Amp Circuits Application: D/A Conversion.
ELECTRONIC DEVICES BASIC OP-AMP CIRCUIT MOHD AIDIL IDHAM BIN DAUD AZFAR ASYRAFIE BIN AHMAD
A/D and D/A Converters. Digital-to-analogue converters The digital-to-analog converter, known as the D/A converter (read as D-to-A converter) or the DAC,
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Digital-to-Analog Analog-to-Digital
Task 2: Define digital and analogue signals
Lecture Notes / PPT UNIT III
Analog-Digital Conversion. Other types of ADC i. Dual Slope ADCs use a capacitor connected to a reference voltage. the capacitor voltage starts at zero.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World.
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Chapter 5 Operational Amplifier
Digital to analog converter [DAC]
Data Acquisition ET 228 Chapter
Digital-to-Analog Analog-to-Digital
Digital-to-Analog Analog-to-Digital
Analog-Digital Conversion
Digital-to-Analog Analog-to-Digital
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 13 Linear-Digital ICs
Principles & Applications
Digital-to-Analog Analog-to-Digital
Digital Control Systems Waseem Gulsher
Analogue to Digital Conversion
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
Analogue Inputs and Processing
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 to Analogue Conversion

Analogue  Digital Conversion Analog and digital data were briefly mentioned at the start A digital signal is an approximation of an analog one Levels of signal are sampled and converted to a discrete bit pattern. Digital signal processing is used, for example, to enhance and compress images, to process sounds to generate speech, etc, etc.

Step (discrete) Approximation “stair-step” approximation of original signal sample level more samples give greater accuracy time hold time for sample

Objectives To understand how a digital value can be converted to an analogue value To draw circuits and explain the operation of two digital to analogue converters: the binary weighted resistor network and the R-2R ladder network To draw the block diagram and explain the operation of three analogue to digital converters: flash, counter ramp and successive approximation To be able to calculate the conversion time for an analogue to digital converter To be able to explain the sampling rule To be able to describe the basic design of a sample and hold circuit and explain how it works

The binary weighted resistor network Comprises of a register and resistor network Output of each bit of the register will depend on whether a 1 or a 0 is stored in that position e.g. for a 0 then 0V output for a 1 then 5V output Resistance R is inversely proportional to binary weight of each digit R MSB 4-bit register 2R RL VL 4R 8R LSB

Buffering the resistor network Best solution is to follow the resistor network with a buffer amplifier Has high impedance, practically no current flows All input currents sum at S and go through Rf Vo = -IfRf V = - I ´ R = - ( I + I + I + I ) ´ R o f f 1 2 3 4 f

Digital-to-Analogue Example Calculate the output voltage for an input code word 0110 if a logic 1 is 10V and a logic 0 is 0V, and R = RF=1k I1 = I4 = 0 I2 = 10v / 2R = 10 / 2k = 5 mA I3 = 10v / 4R = 10 / 4k = 0.25 mA Vo = -If x Rf = -(0.0075) x 1000 = -7.5 volts V = - I ´ R = - ( I + I + I + I ) ´ R o f f 1 2 3 4 f

The binary weighted resistor network Seldom used when more than 6 bits in the code word to illustrate the problem consider the design of an 8-bit DAC if the smallest resistor has resistance R what would be the value of the largest resistor? what would be the tolerance of the smallest resistor? Very difficult to manufacture very accurate resistors over this range

The R-2R Ladder Resistor Network Has a resistor network which requires resistance values that differ 2:1 for any sized code word The principle of the network is based on Kirchhoff's current rule The current entering N must leave by way of the two resistors R1 and R2 •

The R-2R Ladder Resistor Network Works on a current dividing network Resistance to right of B = 1/(1/2R + 1/2R) Resistance to right of A = R +2R/2 = 2R Current divides I1 = I/2 I2 = I/4 divides again

The R-2R Ladder Resistor Network The network of resistors to the right of A have an equivalent resistance of 2R, and so the right hand resistance can be replaced by a copy of the network Bit Current 3 I/2 2 I/4 1 I/8 0 I/16 bit 3 bit 2 bit 1 bit 0

The R-2R Ladder Resistor Network The state of the bits is used to switch a voltage source V = -R ( b I 2 + b I 4 + b I 8 + b I 16 ) 1 o f 3 2

Example V = -R ( b I 2 + b I 4 + b I 8 + b I 16 ) 1 o f 3 2 For the circuit shown above with I = 10 mA and Rf = 2k, calculate the output voltage V0 for an input code word 1110.

Example I = 10mA Rf = 2k input code word 1110 Vo = -2000( 0.01/2 + 0.01/4 + 0.01/8 + (0 x 0.1)/8 ) = - 2000 * (0.04 + 0.02 + 0.01) / 8 = 17.5 volts

Quantisation Suppose we want to use a D-A converter to generate the sawtooth waveform (graph shown on the left) End up with stair-case waveform (graph shown on the right) The 16 possible values of the D-A converter output are called the quantisation levels The difference between two adjacent quantisation levels is termed a quantisation interval

Quantisation Error Difference between the two waveforms is the quantisation error Maximum quantisation error is equal to half the quantisation interval One way to reduce the quantisation error (noise) is to increase the number of bits used by the D-A converter quantisation interval 111 110 101 100 011 010 001 000 bands or quanta 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000 samples

Quantisation Noise The voltage produced by the DA convertor can be regarded as the original signal plus noise: This is the quantisation noise.

Summary We have looked at techniques for converting a digital codeword into an analogue voltage using a weighted resistor network. In particular: the binary weighted network (not suitable for large resolution D-A converters) the R-2R ladder The addition of an amplifier minimises the loading effects on the weighted network The conversion from digital to analogue involves a quantisation process that limits the resolution and introduces the quantisation noise. This quantisation error can be reduced by increasing the number of bits in the converter.