ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
EET 252 Unit 6 Analog-to-Digital Conversion
The Illinois Society of Electroneurodiagnostic Technologists (ISET) Fall Meeting: Electronics Crash Course for Technologists Saturday, November 9, 2013.
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.
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.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Analog/Digital Coding Bobby Geevarughese ECE-E4434/12/05.
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.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
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)
ADC. A/D converter (Analog/Digital converter) A device that converts continuously varying analog signals from instruments and sensors that monitor conditions,
Unit 4 Sensors and Actuators
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Introduction to Data Conversion
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 5.1 Signals and Data Transmission  Introduction  Analogue Signals  Digital.
Chapter 2 Introduction to Digital Concepts. Analog Representation Voltage, current, movement.
PH4705/ET4305: A/D: Analogue to Digital Conversion
Digital to Analog Converters
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Engr. Hinesh Kumar Lecturer, I.B.T, LUMHS. Signal Signal Classification Signal Processing Concept of Systems DSP Elements of DSP Advantages of DSP Limitations.
Digital to Analog Converters
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Sensor Technology Dr. Konstantinos Tatas. Outline Introduction Sensor requirements Sensor Technology Selecting a sensor Interfacing with sensors Integrated.
Analog to Digital Converters (ADC) 1
INTERFACE WITH ANALOG WORLD
AD/DA Conversion Techniques - An Overview J. G. Pett  Introductory tutorial lecture for :- ‘Analogue and digital techniques in closed-loop regulation.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Analog-to-Digital and Digital-to-Analog Conversion
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
Analog to Digital Converters
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
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.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Digital-to-Analog Analog-to-Digital
Task 2: Define digital and analogue signals
Lecture Notes / PPT UNIT III
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Introduction to Discrete-Time Control Systems fall
EI205 Lecture 13 Dianguang Ma Fall 2008.
Introduction to data converters
Introduction to data converters
Analog to Digital Converters Electronics Unit – Lecture 7
Digital Control Systems Waseem Gulsher
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
Chapter 7 Converters.
Presentation transcript:

ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital to Analog Converters (DAC) –Convert a digital code into an analog quantity (voltage, current)

ACOE2552 Video (Analog - Digital) A/D Amplifier Filters Modulator Image enhancement and coding AnalogDigital Pre- amplifier

ACOE2553 Temperature Recording by a Digital System Sampling & quantization Coding Temperature (ºC) Time Temperature (ºC) Time

ACOE2554 Need for Data Converters Digital processing and storage of physical quantities (sound, temperature, pressure etc) exploits the advantages of digital electronics –Better and cheaper technology compared to the analog –More reliable in terms of storage, transfer and processing Not affected by noise –Processing using programs (software) Easy to change or upgrade the system –(e.g. Media Player 7  Media Player 8 ή Real Player) Integration of different functions –(π.χ. Mobile = phone + watch + camera + games + +

ACOE2555 Signals (Analog - Digital) u(V) t (S) D3D3 D2D2 D1D1 D0D Analog Signal can take infinity values can change at any time Digital Signal can take one of 2 values (0 or 1) can change only at distinct times ADC u(V) t (S) DAC Reconstruction of an analog signal from a digital one (Can take only predefined values)

ACOE2556 QUANTIZATION ERROR The difference between the true and quantized value of the analog signal Inevitable occurrence due to the finite resolution of the ADC The magnitude of the quantization error at each sampling instant is between zero and half of one LSB. Quantization error is modeled as noise (quantization noise)

ACOE2557 SAMPLING FREQUENCY (RATE) The frequency at which digital values are sampled from the analog input of an ADC A low sampling rate (undersampling) may be insufficient to represent the analog signal in digital form A high sampling rate (oversampling) requires high bitrate and therefore storage space and processing time A signal can be reproduced from digital samples if the sampling rate is higher than twice the highest frequency component of the signal (Nyquist-Shannon theorem) Examples of sampling rates –Telephone: 4 KHz (only adequate for speech, ess sounds like eff) –Audio CD: 44.1 KHz –Recording studio: 88.2 KHz

ACOE2558 Digital to Analog Converters The analog signal at the output of a D/A converter is linearly proportional to the binary code at the input of the converter. –If the binary code at the input is 0001 and the output voltage is 5mV, then –If the binary code at the input becomes 1001, the output voltage will become If a D/A converter has N digital inputs then the analog signal at the output can have one out of ……. values. If a D/A converter has 4 digital inputs then the analog signal at the output can have one out of …… values. 45mV 16 2Ν2Ν D3D3 D2D2 D1D1 D0D0 V out (mV)

ACOE2559 Characteristics of Data Converters 1.Number of digital lines –The number bits at the input of a D/A (or output of an A/D) converter. –Typical values: 8-bit, 10-bit, 12-bit and 16-bit –Can be parallel or serial 2.Microprocessor Compatibility –Microprocessor compatible converters can be connected directly on the microprocessor bus as standard I/O devices –They must have signals like CS, RD, and WR Activating the WR signal on an A/D converter starts the conversion process. 3.Polarity –Polar: the analog signals can have only positive values –Bipolar: the analog signals can have either a positive or a negative value 4.Full-scale output –The maximum analog signal (voltage or current) –Corresponds to a binary code with all bits set to 1 (for polar converters) –Set externally by adjusting a variable resistor that sets the Reference Voltage (or current)

ACOE25510 Characteristics of Data Converters (Cont…) 5.Resolution –The analog voltage (or current) that corresponds to a change of 1LSB in the binary code –It is affected by the number of bits of the converter and the Full Scale voltage (V FS ) –For example if the full-scale voltage of an 8-bit D/A converter is 2.55V the the resolution is: V FS /(2 N -1) = 2.55 /(2 8 -1) 2.55/255 = 0.01 V/LSB = 10mV/LSB 6.Conversion Time –The time from the moment that a “Start of Conversion” signal is applied to an A/D converter until the corresponding digital value appears on the data lines of the converter. –For some types of A/D converters this time is predefined, while for others this time can vary according to the value of the analog signal. 7.Settling Time –The time needed by the analog signal at the output of a D/A converter to be within 10% of the nominal value.

ACOE25511 ADC RESPONSE TYPES Linear –Most common, Non-linear –Used in telecommunications, since human voice carries more energy in the low frequencies than the high.

ACOE25512 ADC TYPES Direct Conversion –Fast –Low resolution Successive approximation –Low-cost –Slow –Not constant conversion delay Sigma-delta –High resolution, low-cost, high accuracy

ACOE25513 Interfacing with Data Converters Microprocessor compatible data converters are attached on the microprocessor’s bus as standard I/O devices.

ACOE25514 Programming Example 1 Write a program to generate a positive ramp at the output of an 8-bit D/A converter with a 2V amplitude and a 1KHz frequency. Assume that the full scale voltage of the D/A converter is 2.55V. The D/A converter occupies the O/P address 0x6a0. main() { do { for (i=0;i<200;i++) { Out32(0x6a0,i); delayu(5); } } while (!_kbhit()); }

ACOE25515 D/A Converters example Write a program to generate the waveform, shown below, at the output of an 8- bit digital to analog converter. The period of the waveform should be approximately 8 ms. Assume that a time delay function with a 1 μs resolution is available. The full scale output of the converter is 5.12 V and the address of the DAC is 63H. Assuming that an 8-bit A/D converter is used to interface a temperature sensor measuring temperature values in the temperature range , specify: The resolution in of the system in The digital output word for a temperature of 32.5 The temperature corresponding to a digital output word of