Conversation between Analogue and Digital System

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Interfacing to the Analog World
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.
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.
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.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Lecture 9: D/A and A/D Converters
10/23/2003ME DAC Lecture1 DAC Sunij Chacko Pierre Emmanuel Deliou Thomas Holst Used with modification.
Digital to Analog Converters Alexander Gurney Alexander Pitt Gautam Puri 1.
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.
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
Introduction to Data Conversion
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.
EET 252 Unit 7 Digital-to-Analog Conversion
EET260: A/D and D/A converters
1 Digital to Analog Converter Nov. 1, 2005 Fabian Goericke, Keunhan Park, Geoffrey Williams.
Digital to Analog Converters
Electronic Devices Ninth Edition Floyd Chapter 13.
Digital to Analog Converters
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
ADC & DAC Signal Conversions.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
INTERFACE WITH ANALOG WORLD
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Introduction to Data Conversion 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,
1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
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.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Data Acquisition ET 228 Chapter
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
Electronic Devices Ninth Edition Floyd Chapter 13.
Analog-Digital Conversion
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 13 Linear-Digital ICs
FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – Binary weighted Resistor Digital to Analog Converter By Dr. L. D. Malviya.
Principles & Applications
Introduction to data converters
Introduction to data converters
Digital Control Systems Waseem Gulsher
تقویت کننده های عملیاتی
Digital Control Systems Waseem Gulsher
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Content Op-amp Application Introduction Inverting Amplifier
Digital to Analog Converters (DAC)
Chapter 7 Converters.
Presentation transcript:

Conversation between Analogue and Digital System Analogue to Digital Converter Digital to Analogue Converter

Introduction Analog to digital converter (ADC) and digital to analog converter (DAC) are used to interface a computer to the analog world so that the computer can monitor and control a physical variable.

Analog – to – Digital Conversion Takes an analog input voltage and after a certain amount of time produces a digital output code that represents the analog input. ADC process is generally more complex than DAC.

Sampling Most input signals to an electronic system start out as analog signals. For processing, the signal is normally converted to a digital signal by sampling the input. Before sampling, the analog input must be filtered with a low-pass anti-aliasing filter. The filter eliminates frequencies that exceed a certain limit that is determined by the sampling rate.

Stated as an equation, fsample > 2fa(max) To understand the need for an anti-aliasing filter, you need to understand the sampling theorem which essentially states: In order to recover a signal, the sampling rate must be greater than twice the highest frequency in the signal. Stated as an equation, fsample > 2fa(max) where fsample = sampling frequency fa(max) = highest harmonic in the analog signal If the signal is sampled less than this, the recovery process will produce frequencies that are entirely different than in the original signal. These “masquerading” signals are called aliases.

Quantization – is a process of converting an analog value to a code Quantization – is a process of converting an analog value to a code. During the quantization, the ADC converts each sampled value of analog signal to a binary code. The more bits that are used to represent a sampled value, the more accurate is the representation. Fig 2

Sample interval Quantization level Code 1 00 2 01 3 10 4 5 6 7 8 9 11 12 13

The reconstructed waveform in Figure 2 using four quantization levels (2 bits). The original analog waveform is shown in light gray for reference.

Operational amplified – op-amp is a linear amplifier which has two inputs (inverting and noninverting) and one output.

Flash Analog to Digital Converter The flash method utilizes special high speed comparators that compare reference voltages with the analog input voltage. When the input voltage exceeds the reference voltage for a given comparator, a HIGH is generated. 2n-1 comparators are required to convert n – bit binary code. Advantage: it provides a fast conversion time Disadvantage: A large number of comparator is needed

Flash Analog to Digital Converter Fig 3

Determine the binary code output of the 3-bit flash ADC in Fig 3 for the input signal in Fig 4 and the encoder enable pulses shown. For this example, the Vref = +8V.

Dual Slope Analog to Digital Converter Commonly used in digital voltmeters and other types of measurement instruments.

Successive Approximation Analog to Digital Converter

Digital – to – Analog Converter (DAC) Process of taking a value represented in digital code (such as straight binary or BCD) and converting it to a voltage or current that is proportional to the digital value. A positive half-wave from 0-10 V is shown in blue. The sample-and-hold circuit produces the staircase representation shown in red. 0 V 10 V

Digital-to-Analog Conversion Methods Binary-weighted-input DAC: The binary-weighted-input DAC is a basic DAC in which the input current in each resistor is proportional to the column weight in the binary numbering system. It requires very accurate resistors and identical HIGH level voltages for accuracy. LSB 8R Rf D0 The MSB is represented by the largest current, so it has the smallest resistor. To simplify analysis, assume all current goes through Rf and none into the op-amp. 4R D1 2R Vout D2 Analog output R D3 MSB

Example 1 Example Solution Digital-to-Analog Conversion Methods A certain binary-weighted-input DAC has a binary input of 1101. If a HIGH = +3.0 V and a LOW = 0 V, what is Vout? 120 kW Rf +3.0 V 60 kW 10 kW 0 V 30 kW Vout +3.0 V 15 kW +3.0 V Solution Vout = Iout Rf = (−0.325 mA)(10 kW) = −3.25 V

Digital-to-Analog Conversion Methods R-2R ladder: The R-2R ladder requires only two values of resistors. By calculating a Thevenin equivalent circuit for each input, you can show that the output is proportional to the binary weight of inputs that are HIGH. Each input that is HIGH contributes to the output: where VS = input HIGH level voltage n = number of bits i = bit number Inputs D0 D1 D2 D3 For accuracy, the resistors must be precise ratios, which is easily done in integrated circuits. R1 R3 R5 R7 Rf = 2R 2R 2R 2R 2R R2 R4 R6 R8 2R R R R Vout

Example 2 Example Solution Digital-to-Analog Conversion Methods An R-2R ladder has a binary input of 1011. If a HIGH = +5.0 V and a LOW = 0 V, what is Vout? Example D0 D1 D2 D3 +5.0 V +5.0 V 0 V +5.0 V R1 R3 R5 R7 Rf = 50 kW 50 kW 50 kW 50 kW 50 kW R2 R4 R6 R8 50 kW 25 kW 25 kW 25 kW Vout Solution Apply to all inputs that are HIGH, then sum the results. Applying superposition, Vout = −3.44 V

Summary Question Answer Resolution and Accuracy of DACs The R-2R ladder is relatively easy to manufacturer and is available in IC packages. DACs based on the R-2R network are available in 8, 10, and 12-bit versions. The resolution is an important specification, defined as the reciprocal of the number of steps in the output. What is the resolution of the BCN31 R-2R ladder network, which has 8-bits? Question Answer Number of steps: 28 – 1 = 255 % Resolution: 1/255 = 0.39%

Performance characteristics of a DAC Resolution – the resolution of DAC is the reciprocal of the number of discrete steps in the output. For example: a 4-bit DAC has a resolution of one part in 24-1. Expressed as a percentage, (1/15)*100 = 6.67%. Offset Error – ideally, the output of a DAC will be zero volts when the binary input is all 0s. In practice however, there will be a small output voltage for this kind od situation. Accuracy – accuracy is derived from a comparison if the actual output if a DAC with the expected output. It is expressed as a percentage of a full scale or maximum, output voltage. For example: if a converter has a full scale output of 10V and the accuracy ±0.1%, then the maximum error for any output voltage is (10V) (0.001) = 10 mV.