ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Similar documents
ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

P a g e 1. Introduction

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

CHAPTER ELEVEN - Interfacing With the Analog World

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

Analog to Digital Converters

CENG4480 Lecture 04: Analog/Digital Conversions

A-D and D-A Converters

Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim

Lecture 6: Digital/Analog Techniques

Analog to Digital Conversion

Chapter 2 Signal Conditioning, Propagation, and Conversion

Digital to Analog Conversion. Data Acquisition

Chapter 5: Signal conversion

Linear Integrated Circuits

Outline. Analog/Digital Conversion

Data Acquisition: A/D & D/A Conversion

PHYS225 Lecture 22. Electronic Circuits

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

Electronics A/D and D/A converters

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

The simplest DAC can be constructed using a number of resistors with binary weighted values. X[3:0] is the 4-bit digital value to be converter to an

Embedded Control. Week 3 (7/13/11)

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

Data Conversion and Lab (17.368) Fall Lecture Outline

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

ENGR 210 Lab 12: Analog to Digital Conversion

IFB270 Advanced Electronic Circuits

Analog to Digital Conversion

LINEAR IC APPLICATIONS

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Analog to Digital Converter

DIGITAL TO ANALOG CONVERTERS. 1. Digital to Analog Converter using Binary- Weighted Resistors

EEE312: Electrical measurement & instrumentation

Analog to Digital (ADC) and Digital to Analog (DAC) Converters

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

16.2 DIGITAL-TO-ANALOG CONVERSION

10. Chapter: A/D and D/A converter principles

Analog/Digital and Sampling

Digital to Analog Converters (DAC) Adam Fleming Mark Hunkele 3/11/2005

Menu EEL EEL 3744 A/D and D/A Conversion Process. A-to-D, D-to-A, Part 1

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Hello, and welcome to the Texas Instruments Precision overview of AC specifications for Precision DACs. In this presentation we will briefly cover

Transistor Design & Analysis (Inverter)

Electronics II Physics 3620 / 6620

Data acquisition and instrumentation. Data acquisition

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

EECS 373 Design of Microprocessor-Based Systems

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

UNITII. Other LICs and Data Converters

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

Analog-to-Digital i Converters

EE 308 Spring Using the HCS12 PWM

University of Pittsburgh

Data Converters. Lecture Fall2013 Page 1

Computerized Data Acquisition Systems. Chapter 4

Reading: Schwarz and Oldham (light on non-ideal) and comparator viewgraphs. Lecture 14: October 17, 2001

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

Analog to digital and digital to analog converters

EE251: Tuesday October 10

Data Acquisition & Computer Control

Low Cost 10-Bit Monolithic D/A Converter AD561

Assoc. Prof. Dr. Burak Kelleci

CMOS High Speed A/D Converter Architectures

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

UNIVERSITY of PENNSYLVANIA DEPARTMENT OF ELECTRICAL AND SYSTEMS ENGINEERING ESE Undergraduate Labs Electrical Circuits and Systems II Laboratory

ISSN:

Analog to Digital Conversion

Cyber-Physical Systems ADC / DAC

Lecture #6: Analog-to-Digital Converter

Operational Amplifiers (Op Amps)


CONTENTS Sl. No. Experiment Page No

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing

Analog-Digital Interface

Amplitude modulator trainer kit diagram

EECS 373 Design of Microprocessor-Based Systems

LESSON PLAN. SUBJECT: LINEAR IC S AND APPLICATION NO OF HOURS: 52 FACULTY NAME: Mr. Lokesh.L, Hema. B DEPT: ECE. Portions to be covered

Software Programmable Gain Amplifier AD526

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Data Conversion Circuits & Modulation Techniques. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Lab Exercise 6: Digital/Analog conversion

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

Analytical Chemistry II

FIRSTRANKER. 1. (a) What are the advantages of the adjustable voltage regulators over the fixed

The need for Data Converters

Chapter 3 Novel Digital-to-Analog Converter with Gamma Correction for On-Panel Data Driver

Last Time. P and N type semiconductors Diode internals Transistors NPN PNP

Microprocessors & Interfacing

Analogue-to-Digital Conversion

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

Analogue to Digital Conversion

Question Paper Code: 21398

Data Conversion and Lab Lab 4 Fall Digital to Analog Conversions

PRODUCT OVERVIEW. (4k, BCD) * FOR BCD MODELS, THIS RESISTOR IS OPEN CIRCUIT. +6.3V REFERENCE 15V SUPPLY. Figure 1. DAC-HZ Functional Block Diagram

1 Analog and Digital Communication Lab

Transcription:

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FSR 4 V 8 ref 7 V 8 ref Analog Input V in Any analog quantity can be represented by a binary number. Longer binary numbers provide higher resolution, which gives a more accurate representation of the analog quantity. 1

Analog to Digital Converters Objective: Representing an analog varying physical quantity by a sequence of discrete numerical values. 01 07 10 15 09 03 00 05 Analog Digital Sample & Hold f sample Quantization 2

Digitization Process Electronics 7 3

Sample-and-Hold 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 - - + + C sample/hold control line

Sample and Hold Circuits Sample and hold circuits hold signal constant for conversion A sample and a hold device (mostly switch and capacitor) Demands: Small RC-settling-time (voltage over hold capacitor has to be fast stable at < 1 LSB) Exact switching point Stable voltage over hold capacitor No charge injection by the switch.

If you can exactly reconstruct the signal from the samples, then you have done a proper sampling and captured the key signal information Electronics 7 6

Accuracy x q (t) Q t T s x q (t) Higher Sampling Rate x q (t) Higher Resolution Q T s t t

Resolution Suppose a binary number with N bits is to represent an analog value ranging from 0 to A; There are 2 N possible numbers. Resolution = A / 2 N Example 1: 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 = 0.0098 V, or about 10 mv per step 300 K / 2 8 = 1.2 K per step Example 2: 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 = 0.00244V, or about 2.4 mv per step 300 K / 2 10 = 0.29 K per step Is the noise present in the system well below 2.4 mv?

Successive Approximation ADC Generate internal analog signal V D/A Compare V D/A with input signal V in Modify V D/A by D 0 D 1 D 2 D N-1 until closest possible value to V in is reached V in S&H Logic V D/A D 0 D 1 D N-1 DAC V ref 9

Ladder Comparison The counter, through a digital-to-analog converter, produces a stair-step of increasing voltage. At each step the input signal is compared to the current step level. If the input is higher, then continue to step, if the input is equal or lesser, then stop and read the counter. The count value is read as numeric value of the input. Calculate the maximum conversion time of a 8-bit staircase ramp ADC. The maximum number of count is n c = 28 = 256. The maximum conversion time is: n T 256 c c 12810 6 s 128s 6 f 210 10

Flash ADC R/2 R V ref V in Over range V in connected with 2 N comparators in parallel Comparators connected to resistor string R R R R (2 N -1) to N encoder D 0 D 1 If Output V IN > V REF High R D N-1 V IN < V REF Low R R/2

Binary Encoder Electronics 7 12

Priority Encoder Electronics 7 13

An ADC is usually in form of an integrated circuit (IC). ADC0808 and ADC0809 are two typical examples of 8-bit ADC with 8- channel multiplexer using successive approximation method for its conversion. ADC0809 National Semiconductor For more information, http://www.national.com/ads-cgi/viewer.pl/ds/ad/adc0808.pdf 14

Selection of ADC The parameters used in selecting an ADC are very similar to those considered for a DAC selection: Error/Accuracy: Quantizing error represents the difference between an actual analog value and its digital representation. Ideally, the quantizing error should not be greater than ± ½ LSB. Resolution: DV to cause 1 bit change in output Output Voltage Range Input Voltage Range Output Settling Time Conversion Time Output Coding (usually binary) The Nyquist Rate: A signal must be sampled at a rate at least twice that of the highest frequency component that must be reproduced. Example: Hi-Fi sound (20-20,000 Hz) is generally sampled at about 44 khz. 15

Digital to Analog Converters (DACs) Binary Weighted Resistor Voltages V 1 through V n are either V ref if corresponding bit is high or ground if corresponding bit is low V 1 is most significant bit V n is least significant bit MSB V ref V1 V 2 V 3 V n R 2R 4R 2 n-1 R I - + Rf V out V1 V2 V3 Vn Vout IRf Rf n-1 R 2R 4R 2 R LSB

Binary-Weighted Digital-to-Analog Converters Sum of the currents from the input resistors; Consider binary weighting factor. Advantages: Simple Construction/Analysis; Fast Conversion Disadvantages: Requires large range of resistors (2000:1 for 12-bit DAC) with necessary high precision for low resistors; Requires low switch resistances in transistors 9

V V I OUT OUT B3 B2 B1 B0 VREF R 2R 4R 8R B2 B1 I R f VREF B3 2 4 Bi VREF n 1 2 i V Digital Value Resolution REF Binary Weighted Resistor B 8 0 Ii R f = R R 2R 4R 8R V o MSB LSB -V REF

R-2R Ladder The less significant the bit, the more resistors the signal muss pass through before reaching the op-amp The current is divided by a factor of 2 at each node LSB MSB

R-2R Ladder The current is divided by a factor of 2 at each node; Analysis for current from (001) 2 shown below I 0 2 I 0 4 I 0 8 R R R R 2R 2R 2R 2R V REF B 0 I 0 B 1 B 2 I V 2R 2R REF 0 2R V 3R REF Op-Amp input Ground 20

R-2R Ladder: An Example Find the output voltage of the Op-Amp for the following DAC Given Values Input = (101) 2 V REF = 10 V R = 2 Ω R f = 2R I V 2R 2R VREF 2R 3R I I0 8 2 I R REF 0 I opamp V OUT 0 opamp f 1.67 ma 1.04 ma 4.17 V R R R R 2R 2R 2R 2R I 0 V REF I 0 V REF Op-Amp input Ground B 0 B 2 21

2 Volt. Levels Resolution 8 Volt. Levels Resolution V LSB V 2 Ref N Poor Resolution(1 bit) Better Resolution(3 bit) Vout Vout Desired Analog signal Desired Analog signal 111 1 101 110 110 101 100 100 011 011 010 010 0 0 Digital Input Approximate output 22 000 001 Approximate output 001 000 Digital Input

Digital to Analog Converters Selection Criteria of DAC Resolution The number of bits making up the input data word that will ultimately determine the output step voltage as a percentage of full-scale output voltage. Example: Calculate the resolution of an 8-bit DAC. Resolution = 8 bits 1 1 Percentage resolution = 100% 100% 0.391% 2 256 8 Output Voltage Range This is the difference between the maximum and minimum output voltages expressed in volts. Example: Calculate the output voltage range of a 4-bit DAC if the output voltage is +4.5V for an input of 0000 and +7.5V for an input of 1111. Output voltage range = 7.5 4.5 = 3.0V 23

Summary Operational amplifiers are important building blocks in analog-to-digital (A/D) and digital-to-analog (D/A) converters. They provide a means for summing currents at the input and converting a current to a voltage at the output of converter circuits. The methods of A/D conversion used are many! In the successive method, bits are tested to see if they contribute an equivalent analog value that is greater than the analog input to be converted. If they do, they are returned to zero. After all bits are tested, the ones that are left ON are used as the final digital equivalent to the analog input. The R/2R ladder D/A converter uses only two different resistor values, no matter how many binary input bits are included. This allows for very high resolution and ease of fabrication in integrated-circuit form. The DAC0808 (or MC1408) IC is an 8-bit D/A converter that uses the R/2R ladder method of conversion. It accepts 8 binary input bits and outputs an equivalent analog current. Having 8 input bits means that it can resolve up to 256 unique binary values into equivalent analog values. 37