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

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

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

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

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

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

Outline. Analog/Digital Conversion

A-D and D-A Converters

P a g e 1. Introduction

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

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

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

University of Pittsburgh

Data Conversion and Lab (17.368) Fall Lecture Outline

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

CENG4480 Lecture 04: Analog/Digital Conversions

Chapter 2 Signal Conditioning, Propagation, and Conversion

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

Lecture 6: Digital/Analog Techniques

System on a Chip. Prof. Dr. Michael Kraft

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

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

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

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

Lab Exercise 6: Digital/Analog conversion

Digital to Analog Conversion. Data Acquisition

CHAPTER ELEVEN - Interfacing With the Analog World

EECS 373 Design of Microprocessor-Based Systems

LINEAR IC APPLICATIONS

Assoc. Prof. Dr. Burak Kelleci

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

Operational Amplifiers (Op Amps)

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps

The need for Data Converters

Chapter 7: From Digital-to-Analog and Back Again

Specifying A D and D A Converters

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Digital-to-Analog Converter

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Analogue to Digital Conversion

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

Analog-Digital Interface

Analog-to-Digital i Converters

IFB270 Advanced Electronic Circuits

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

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

Data Converter Fundamentals

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

L10: Analog Building Blocks (OpAmps,, A/D, D/A)

Low Cost 10-Bit Monolithic D/A Converter AD561

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Lecture #3 Basic Op-Amp Circuits

Data Acquisition & Computer Control

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

L9: Analog Building Blocks (OpAmps,, A/D, D/A)

Basic Operational Amplifier Circuits

Working with ADCs, OAs and the MSP430

An 8-bit Analog-to-Digital Converter based on the Voltage-Dependent Switching Probability of a Magnetic Tunnel Junction

Analog to Digital Conversion

Dr. Cahit Karakuş ANALOG SİNYALLER

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

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

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

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

Fan in: The number of inputs of a logic gate can handle.

EECS 373 Design of Microprocessor-Based Systems

Analog to Digital Converters

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

Let us consider the following block diagram of a feedback amplifier with input voltage feedback fraction,, be positive i.e. in phase.


Analytical Chemistry II

Analog to Digital Conversion

High Precision 10 V IC Reference AD581

EE 230 Lab Lab 9. Prior to Lab

Serial Input 18-Bit Monolithic Audio DIGITAL-TO-ANALOG CONVERTER

Control System Circuits with Opamps

Serial Input 18-Bit Monolithic Audio DIGITAL-TO-ANALOG CONVERTER

16.2 DIGITAL-TO-ANALOG CONVERSION

EEE312: Electrical measurement & instrumentation

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

Analog Circuit Test. Analog circuits Analog circuit test methods Specification-based testing Direct measurement DSP-based testing

CENG4480 Lecture 02: Operational Amplifier 1

Test Results of the HTADC12 12 Bit Analog to Digital Converter at 250 O C

AD9772A - Functional Block Diagram

Data Converters. Lecture Fall2013 Page 1

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

+2.7V to +5.5V, Low-Power, Triple, Parallel 8-Bit DAC with Rail-to-Rail Voltage Outputs

Chapter 5: Signal conversion

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

CHAPTER 6 DIGITAL INSTRUMENTS

PHYS225 Lecture 22. Electronic Circuits

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

EE251: Tuesday October 10

Analog to Digital Conversion

Question Paper Code: 21398

PC Digital Data Acquisition


Analogue to Digital Conversion

Electronics A/D and D/A converters

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

Transcription:

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

Outline Purpose Types Performance Characteristics Applications 2

Purpose To convert digital values to analog voltages Performs inverse operation of the Analog-to- Digital Converter (ADC) V OUT Digital Value Reference Voltage Digital Value DAC Analog Voltage 3

DACs Types Binary Weighted Resistor R-2R Ladder Multiplier DAC The reference voltage is constant and is set by the manufacturer. Non-Multiplier DAC The reference voltage can be changed during operation. Characteristics Comprised of switches, op-amps, and resistors Provides resistance inversely proportion to significance of bit 4

Binary Weighted Resistor R f = R I i R 2R 4R 8R V o MSB LSB -V REF 5

Binary Representation R f = R I i Most Significant Bit R 2R 4R 8R V o Least Significant Bit -V REF 6

Binary Representation Most Significant Bit SET CLEARED -V REF Least Significant Bit ( 1 1 1 1 ) 2 = ( 15 ) 10 7

Binary Weighted Resistor Weighted Resistors based on bit I i R f = R Reduces current by a factor of 2 for each bit MSB R 2R 4R 8R V o LSB -V REF 8

9 Binary Weighted Resistor Result: B i = Value of Bit i R B R B R B R B V I REF 8 4 2 0 1 2 3 8 4 2 0 1 2 3 B B B B V R I V REF f OUT

Binary Weighted Resistor More Generally: V OUT V V REF REF B i = Value of Bit i n = Number of Bits B i n i 2 Digital 1 Value Resolution 10

R-2R Ladder V REF MSB LSB 11

R-2R Ladder Same input switch setup as Binary Weighted Resistor DAC All bits pass through resistance of 2R MSB V REF LSB 12

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 13

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 0 2R V 2R REF 2R V 3R REF Op-Amp input Ground 14

R-2R Ladder Result: I V OUT V 3R R f V R REF B i = Value of Bit i REF B 2 B 2 B1 4 B 4 2 B0 8 2 1 B0 8 R f 15

R-2R Ladder If R f = 6R, V OUT is same as Binary Weighted: V OUT B i = Value of Bit i I V 3R REF B i n i V REF 2 B i 2 n i 1 16

R-2R Ladder Example: Input = (101) 2 V REF = 10 V R = 2 Ω R f = 2R I 0 2R I V 2R op V REF amp OUT 2R VREF 3R I 0 I 0 8 2 I R op amp 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 17

Pros & Cons Binary Weighted Pros Easily understood R-2R Only 2 resistor values Easier implementation Easier to manufacture Faster response time Cons Limited to ~ 8 bits Large # of resistors Susceptible to noise Expensive Greater Error More confusing analysis 18

Digital to Analog Converters Performance Specifications Common Applications Presented by: Mark Hunkele 19

Digital to Analog Converters -Performance Specifications Resolution Reference Voltages Settling Time Linearity Speed Errors 20

Digital to Analog Converters -Performance Specifications -Resolution Resolution: is the amount of variance in output voltage for every change of the LSB in the digital input. How closely can we approximate the desired output signal(higher Res. = finer detail=smaller Voltage divisions) A common DAC has a 8-12 bit Resolution Resolution V LSB V 2 Ref N N = Number of bits 21

2 Volt. Levels 8 Volt. Levels Digital to Analog Converters -Performance Specifications -Resolution 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 000 001 Approximate output 001 Digital Input 22 000

Digital to Analog Converters -Performance Specifications -Reference Voltage Reference Voltage: A specified voltage used to determine how each digital input will be assigned to each voltage division. Types: Non-multiplier: internal, fixed, and defined by manufacturer Multiplier: external, variable, user specified 23

Digital to Analog Converters -Performance Specifications -Reference Voltage Non-Multiplier: (Vref = C) Voltage 11 10 10 01 01 Voltage Multiplier: (Vref = Asin(wt)) 11 10 10 01 01 0 00 00 Digital Input 0 00 00 Digital Input Assume 2 bit DAC 24

Digital to Analog Converters -Performance Specifications -Settling Time Settling Time: The time required for the input signal voltage to settle to the expected output voltage(within +/- VLSB). Any change in the input state will not be reflected in the output state immediately. There is a time lag, between the two events. 25

Digital to Analog Converters -Performance Specifications -Settling Time Analog Output Voltage Expected Voltage +VLSB -VLSB Settling time Time 26

Digital to Analog Converters -Performance Specifications -Linearity Linearity: is the difference between the desired analog output and the actual output over the full range of expected values. Ideally, a DAC should produce a linear relationship between a digital input and the analog output, this is not always the case. 27

Analog Output Voltage Analog Output Voltage Digital to Analog Converters -Performance Specifications -Linearity Linearity(Ideal Case) NON-Linearity(Real World) Desired/Approximate Output Desired Output Approximate output Perfect Agreement Digital Input Miss-alignment Digital Input 28

Digital to Analog Converters -Performance Specifications -Speed Speed: Rate of conversion of a single digital input to its analog equivalent Conversion Rate Depends on clock speed of input signal Depends on settling time of converter 29

Digital to Analog Converters -Performance Specifications -Errors Non-linearity Differential Integral Gain Offset Non-monotonicity 30

Analog Output Voltage Digital to Analog Converters -Performance Specifications -Errors: Differential Non-Linearity Differential Non-Linearity: Difference in voltage step size from the previous DAC output (Ideally All DLN s = 1 VLSB) Ideal Output 2VLSB Diff. Non-Linearity = 2VLSB VLSB Digital Input 31

Analog Output Voltage Digital to Analog Converters -Performance Specifications -Errors: Integral Non-Linearity Integral Non-Linearity: Deviation of the actual DAC output from the ideal (Ideally all INL s = 0) Ideal Output 1VLSB Int. Non-Linearity = 1VLSB Digital Input 32

Analog Output Voltage Digital to Analog Converters -Performance Specifications -Errors: Gain Gain Error: Difference in slope of the ideal curve and the actual DAC output High Gain High Gain Error: Actual slope greater than ideal Desired/Ideal Output Low Gain Error: Actual slope less than ideal Low Gain Digital Input 33

Digital to Analog Converters -Performance Specifications -Errors: Offset Offset Error: A constant voltage difference between the ideal DAC output and the actual. The voltage axis intercept of the DAC output curve is different than the ideal. Output Voltage Desired/Ideal Output Positive Offset Negative Offset Digital Input 34

Analog Output Voltage Digital to Analog Converters -Performance Specifications -Errors: Non-Monotonicity Non-Monotonic: A decrease in output voltage with an increase in the digital input Non-Monotonic Desired Output Monotonic Digital Input 35

Digital to Analog Converters -Common Applications Generic use Circuit Components Digital Audio Function Generators/Oscilloscopes Motor Controllers 36

Digital to Analog Converters -Common Applications -Generic Used when a continuous analog signal is required. Signal from DAC can be smoothed by a Low pass filter Digital Input 0 bit Piece-wise Continuous Output Analog Continuous Output 011010010101010100101 101010101011111100101 000010101010111110011 010101010101010101010 111010101011110011000 100101010101010001111 n bit DAC Filter n th bit 37

Digital to Analog Converters -Common Applications -Circuit Components Voltage controlled Amplifier digital input, External Reference Voltage as control Digitally operated attenuator External Reference Voltage as input, digital control Programmable Filters Digitally controlled cutoff frequencies 38

Digital to Analog Converters -Common Applications -Digital Audio CD Players MP3 Players Digital Telephone/Answering Machines 1 2 3 1. http://electronics.howstuffworks.com/cd.htm 2. http://accessories.us.dell.com/sna/sna.aspx?c=us&cs=19&l=en&s=dhs&~topic=odg_dj 3. http://www.toshiba.com/taistsd/pages/prd_dtc_digphones.html 39

Digital to Analog Converters -Common Applications -Function Generators Digital Oscilloscopes Digital Input Analog Ouput Signal Generators Sine wave generation Square wave generation Triangle wave generation Random noise generation 1 2 1. http://www.electrorent.com/products/search/general_purpose_oscilloscopes.html 2. http://www.bkprecision.com/power_supplies_supply_generators.htm 40

Digital to Analog Converters -Common Applications -Motor Controllers Cruise Control Valve Control Motor Control 1 2 3 1. http://auto.howstuffworks.com/cruise-control.htm 2. http://www.emersonprocess.com/fisher/products/fieldvue/dvc/ 3. http://www.thermionics.com/smc.htm 41

References Cogdell, J.R. Foundations of Electrical Engineering. 2 nd ed. Upper Saddle River, NJ: Prentice Hall, 1996. Simplified DAC/ADC Lecture Notes, http://www-personal.engin.umd.umich.edu/ ~fmeral/electronics II/ElectronicII.html Digital-Analog Conversion, http://www.allaboutcircuits.com. Barton, Kim, and Neel. Digital to Analog Converters. Lecture, March 21, 2001. http://www.me.gatech.edu/charles.ume/me4447spring01/classnotes/dac.ppt. Chacko, Deliou, Holst, ME6465 DAC Lecture Lecture, 10/ 23/2003, http://www.me.gatech.edu/mechatronics_course/ Lee, Jeelani, Beckwith, Digital to Analog Converter Lecture, Spring 2004, http://www.me.gatech.edu/mechatronics_course/ 42