Analogue to Digital Conversion

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
EET 252 Unit 6 Analog-to-Digital Conversion
Digital to Analogue Conversion
Digital to Analog and Analog to Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
©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.
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
COMP3221: Microprocessors and Embedded Systems
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Shuvra Das University of Detroit Mercy
Lecture 9: D/A and A/D Converters
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Data acquisition and manipulation
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.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Analogue to Digital Conversion
Embedded Systems Development and Applications
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.
EE174 – SJSU Lecture #4 Tan Nguyen
EET260: A/D and D/A converters
Introduction to Analog-to-Digital Converters
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog and Analog to Digital Conversion
Digital to Analog Converters
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
ADC & DAC Signal Conversions.
Analog to Digital Converters (ADC) 1
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
AD/DA Conversion Techniques - An Overview J. G. Pett  Introductory tutorial lecture for :- ‘Analogue and digital techniques in closed-loop regulation.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
Analog-to-Digital and Digital-to-Analog Conversion
1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
Analog to Digital Converters
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.
Sampling Theory ADC Types EE174 – SJSU Tan Nguyen.
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,
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.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
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
Introduction to Discrete-Time Control Systems fall
Analog-Digital Conversion
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 3 Sampling.
Principles & Applications
Signal conditioning.
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
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:

Analogue to Digital Conversion

Digital Signal Processing A digital signal is an approximation of an analog one Levels of signal are sampled and converted to a discrete bit pattern. Resistor networks can be used to convert digital signals into analogue voltages

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

This Lecture Methods of analogue to digital conversion flash counter ramp successive approximation Sample interval and aliasing problems Sample and hold circuits

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 (0, say) if B > A then it is in the opposite state (1, say) A comparator can be built using an op amp with no feedback

Flash Converter Uses a reference and a comparator for each of the discrete levels represented in the digital output Number of comparators = number of quantisation levels Not practical for more than 10 bit converters generally fast but expensive

Counter-ramp Converter Comprises a D-A converter, a single comparator, a counter, a clock and control logic When a conversion is required A signal (conversion request) is sent to the converter and the counter is reset to zero a clock signal increments the counter until the reference voltage generated by the D-A converter is greater than the analogue input At this point in time the output of the comparator goes to a logic 1, which notifies the control logic the conversion has finished The value of the counter is output as the digital value

Counter-ramp Converter The time between the start and end of the conversion is known as the conversion time A drawback of the counter-ramp converter is the length of time required to convert large voltages We must assume the worst case when calculating conversion times

Successive Approximation Converter Counter replaced by a register Contents of register decided by clock and control logic When a conversion is required: contents of register cleared Vd = 0 MSB set to a 1 if Vc = 0 then Vd < Vin => leave MSB set if Vc =1 then Vd > Vin => clear MSB Repeat previous step for other bits in MSB to LSB order Vin Vc Vd

The successive approximation A-D converter Example: A 4-bit successive approximation A-D converter has a full-scale input of +15V. Show how the A-D converter would convert the analogue voltages 10.9V and 3.1V into their digital equivalents Total conversion time = n+1 cycles where n = the number of bits in the code word

ADC Conversion Error Assume D-A converter output has stepped up to V1. Because Vi > V1, the output has stayed at a logic 0. On the next clock pulse the D-A output rises to V2. V2 > Vi, comparator output becomes logic 1 and conversion is completed. Maximum possible error = q.

Quantisation Output from an A-D converter can only be one of a limited number of possible codes Hence quantisation errors will arise. Possible to reduce this error to half by adding q/2 to the output of the D-A converter Equivalent of “rounding” decimal numbers.

Quantisation Quantisation errors can be reduced by increasing the number of bits Common for A-D converters to have 16 bit or better resolution However the accuracy of the reference voltage must be of the same precision Example: Consider a A-D converter where Vref is only accurate to within 1%

Summary One way to reduce quantisation errors is to use a larger number of bits in the codeword absolute accuracy of conversion may not be as good as the resolution if the error tolerance for reference voltages gets too large A multiplexer enables one A-D converter to be switched between several signal inputs

Multiplexers The A-D converters described above have all been single-input devices It is often necessary to convert several analogue signals to binary code words Integrated circuit multiplexers are available which can select one of its analogue inputs at a time and present it to a single A-D converter

Conversion of a.c. signals The A-D converters that we have looked at present no special problems with d.c. What about a.c. signals? Example consider reading room temperature and plotting against time Not possible to sample at every instant in time rate at which we take samples is known as the sampling rate sampling too fast can be inefficient

Conversion of a.c. signals Sampling too slowly can cause information to be lost

Sample Time vs Frequency Consider what happens when the signal frequency is higher than the sampling frequency. sample frequency is number of samples / second

Conversion of a.c. signals Effects of under-sampling possible to interpolate high frequency components as low frequency ones these errors are said to be caused by aliasing important to preceed A-D converter with a low pass filter to remove high frequencies known as an anti-aliasing filter voltage time Sample frequency must be at least twice the highest signal frequency (2f is also called the Nyquist Frequency).

Example What is the maximum frequency of input signal that can be converted by an A-D convertor with a conversion time of 0.25 mS? samples per second = 1000 / 0.25 = 40,000 Maximum frequency in input signal has to be half this or 20kHz.

Sample-and-hold devices Sampling rule tells us at what rate to make conversions, but there is still another problem associated with changing signals

Sample-and-hold devices To remove the problem a sample and hold device which samples the input and holds this value until the end of the conversion is often used

Sample-and-hold devices A number of problems exist with the previous sample and hold circuit load placed on the input of the circuit by charging the capacitor during the sample phase current flowing from the capacitor used in the conversion will reduce the voltage stored on the capacitor

What you should be able to do Explain the operation of binary weighted resistor and R-2R ladder networks. Recall their general layout. Calculate the output voltage given an input 4-bit value. Explain quantisation with reference to D-A conversion. Explain the operation of flash, counter ramp and successive approximation A-D convertors. Recall their general layout. Recall their conversion time relative to number of bits required. Explain quantization with reference to A-D conversion. Explain the aliasing problem and the relationship between sample rate and input signal frequency.