Digital to Analog Converter

Similar documents
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

Digital to Analog and Analog to Digital Conversion

b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output

Digital to Analog Converter. Raghu Tumati

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

Conversion Between Analog and Digital Signals

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Analog Signal Conditioning

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

DAC Digital To Analog Converter

Section 3. Sensor to ADC Design Example

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Operational Amplifier - IC 741

INDUSTRIAL VOLTAGE AMPLIFIER IC AM401 PRINCIPLE FUNCTION

Features. Note Switches shown in digital high state

Lab 7: Operational Amplifiers Part I

Op Amp Circuit Collection

FEATURES DESCRIPTIO APPLICATIO S. LTC1451 LTC1452/LTC Bit Rail-to-Rail Micropower DACs in SO-8 TYPICAL APPLICATIO

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

12-Bit Serial Daisy-Chain CMOS D/A Converter DAC8143

OPERATIONAL AMPLIFIERS. o/p

Interfacing Analog to Digital Data Converters

CMOS 12-Bit Monolithic Multiplying DAC AD7541A

School of Engineering Department of Electrical and Computer Engineering

LC2 MOS Quad 8-Bit D/A Converter AD7226

How To Calculate The Power Gain Of An Opamp

DATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS

Basic Op Amp Circuits

APPLICATION BULLETIN

High Speed, Low Power Monolithic Op Amp AD847

ABCs of ADCs. Analog-to-Digital Converter Basics. Nicholas Gray Data Conversion Systems Staff Applications Engineer

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Frequency Response of Filters

Lesson 16 Analog-to-Digital Converter (ADC)

Digital To Analog Converter with Sine Wave Output

Microcomputers. Analog-to-Digital and Digital-to-Analog Conversion

Nyquist data converter fundamentals Tuesday, February 8th, 9:15 11:35

Model AD558J AD558K AD558S 1 AD558T 1 Min Typ Max Min Typ Max Min Typ Max Min Typ Max Units

Precision Diode Rectifiers

1995 Mixed-Signal Products SLAA013

Building the AMP Amplifier

MAS.836 HOW TO BIAS AN OP-AMP


OPERATIONAL AMPLIFIER

DESCRIPTIO FEATURES FU CTIO AL BLOCK DIAGRA. LTC1655/LTC1655L 16-Bit Rail-to-Rail Micropower DACs in. SO-8 Package APPLICATIO S

Precision, Unity-Gain Differential Amplifier AMP03

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

LTC Bit Rail-to-Rail Micropower DAC in MSOP DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION

ANALOG-DIGITAL CONVERSION

Op amp DC error characteristics and the effect on high-precision applications

Data Sheet January Features. Pinout. NUMBER OF BITS LINEARITY (INL, DNL) TEMP. RANGE ( o C) PACKAGE PKG. NO.

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

OPERATIONAL AMPLIFIERS

Chapter 12. Data Converters. à Read Section 19 of the Data Sheet for PIC18F46K20. Updated: 4/19/15

Step Response of RC Circuits

Isolated AC Sine Wave Input 3B42 / 3B43 / 3B44 FEATURES APPLICATIONS PRODUCT OVERVIEW FUNCTIONAL BLOCK DIAGRAM

LM118/LM218/LM318 Operational Amplifiers

16-Bit Monotonic Voltage Output D/A Converter AD569

Using Op Amps As Comparators

12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER

PC BASED PID TEMPERATURE CONTROLLER

PIN CONFIGURATION FEATURES ORDERING INFORMATION ABSOLUTE MAXIMUM RATINGS. D, F, N Packages

Signal Conversion. David J. Beebe

ANALOG-DIGITAL CONVERSION

Complete, High Resolution 16-Bit A/D Converter ADADC71

24-Bit, 96kHz BiCMOS Sign-Magnitude DIGITAL-TO-ANALOG CONVERTER

Reading: HH Sections , (pgs , )

Multipurpose Analog PID Controller

High Common-Mode Rejection. Differential Line Receiver SSM2141. Fax: 781/ FUNCTIONAL BLOCK DIAGRAM FEATURES. High Common-Mode Rejection

SUPERPOSITION: THE HIDDEN DAC LINEARITY ERROR

Supertex inc. HV Channel High Voltage Amplifier Array HV256. Features. General Description. Applications. Typical Application Circuit

High Voltage Current Shunt Monitor AD8212

Pressure Transducer to ADC Application

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

Op Amp Input Offset Voltage

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Measuring Insulation Resistance of Capacitors

Teaching the Importance of Data Correlation in Engineering Technology

Low Noise, Matched Dual PNP Transistor MAT03

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

ADC12041 ADC Bit Plus Sign 216 khz Sampling Analog-to-Digital Converter

BJT Amplifier Circuits

Constant Voltage and Constant Current Controller for Adaptors and Battery Chargers

Part 1. MAX BIT DAC with an Arduino Board. MIDI to Voltage Converter Part1

W a d i a D i g i t a l

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

LM139/LM239/LM339/LM2901/LM3302 Low Power Low Offset Voltage Quad Comparators

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Scaling and Biasing Analog Signals

DPI 260 SERIES: Digital Pressure Indicators

Equalization/Compensation of Transmission Media. Channel (copper or fiber)

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

Constant Current Control for DC-DC Converters

Current vs. Voltage Feedback Amplifiers

Designing Gain and Offset in Thirty Seconds

Prepared by: Paul Lee ON Semiconductor

Transcription:

Digital to Analog Converter Jungchul Lee Kamran Jeelani Jonathan Beckwith Topics of Discussion What is a DAC? Types of DAC Circuits esistorstring DAC NBit Binary weighted DAC Ladder DAC Specifications of DAC Applications

What is a DAC? DigitaltoAnalog Converter: An electronic device, often an integrated circuit, that converts a digital number into a corresponding analog voltage or current. elation between analog signal and digital equivalent a n i = bi i= V 2 AD conversion V a > b i (encoder) ex) Transducer interface DA conversion b i > V a (decoder) ex) motor, heater control V ref DAC configurations Assume the analog signal is a voltage D N, D N2 D, D Nbit digital word Analog voltage signal V ef V Out DAC =V ref *D/2 N V Out

Types of DAC Circuits. esistorstring 2. NBit Binary Weighted esistor 3. Ladder V ef A esistorstring DAC Example of 3 bit resistorstring DAC equired component a resistor string a set of switches select output to use opamp buffer V o V b N i = Vef i i= 2 B 2 B B

esistor String DAC Example How many resistors and switches would be required to implement an 8 bit resistorstring DAC? Ans) # of resistors = 2 N =2 8 =256 N i 8 # of switches = 2 = 2 = 255 i= Impractical for converters with more than a few bits of resolution NBit Binary Weighted esistor /2 MSB 2 2 2 4 I i 4 V out 2 ( i ) 5 3 I N b = V i= 2 2 8 LSB 2 2^(N) V = I f V ef

Nbit binary weighted Example Find output voltage, current, and resolution for a binary weighted resistor DAC of 4 bits given condition = kω, f = 5 kω, V = V Applied binary word is Example Solutions f=/2 5 kω 2 5 3 4 Vout? 8 4 kω Bit 3 2 Bit 2 Bit 3 Bit 2 2 2 3 3 3 binary input V V

Example Solutions (Cont.) Ans) I V = Ω 2 2 2 2 =.25 A 4 4 2 4 3 4 3 V = fi = (5 Ω ) (.25A) = 5.625V Vef V esolution = LSB= = =.625V n 4 2 2 Example Solutions (Cont.) D N, D N2 D, D V ef VOut DAC =V ref *D/2 N V Out Binary Word input = 2 = 9 # of input combination : 2 4 =6 V out = V ref * D/2 N = *9/6 =5.625 V

Limitations of the Binary Weighted DAC. If = kω, 8 bits DAC, and V ef = V 8 = 2 8 *( kω) = 28 kω I 8 = V ef / 8 =V/28 kω = 7.8 µa Opamps that can handle those currents are rare and expensive. 2. If = Ω and V ef = V = 2 *( Ω) = Ω I = V ef / = V/ Ω = A This current is more than a typical opamp can handle. esistor Ladder DAC Vs Bit 3 Bit 2 Bit Bit Vout Simplest type of DAC equires only two precision resistance value ( and )

esistor Ladder DAC Vs V3 V2 V V Bit 3 Bit 2 Bit Bit Each Bit controls a switch between ground and the inverting input of the op amp The switch is connected to ground if the corresponding bit = Vout 4 Bit Converter DAC Example Ex. Convert to analog Vs V3 V2 V V Switch for bit is connected to op amp input. All other switches connected to ground Bit 3 Bit 2 Bit Bit Digital Value: O O O Vout

DAC Example (cont.) Vs V3 V2 V V Find Equivalent esistance Bit 3 Bit 2 Bit Bit Noninverting input is connected to ground. Therefore, inverting input is at virtual ground Vout DAC Example (cont.) Vs V3 V2 V V V Bit 3 Bit 2 Bit Bit Bit Vout eq = // = Apply voltage division: V = V x eq V = ½ V (eq)

DAC Example (cont.) Vs V3 V2 V V We have shown that V = ½ V Bit 3 Bit 2 Bit Bit Similarly, It can be proven that : Vout V = ½ V 2 AND V 2 = ½ V 3 Therefore: V = /8 V 3 = /8 V s DAC Example (cont.) Vs V3 V2 V V Bit 3 Bit 2 Bit Bit Vout V is the input to the inverting amplifier circuit, which has a gain of: Av = / = /2 Therefore, the analog output voltage corresponding to the binary input is: Vout = Av (V ) = (/2)(/8*Vs) Vout = /6 Vs

DAC Example (cont.) We have shown that the analog output voltage for the digital input is: Similarly, it can be show that: V out = /6 Vs For input = : For input = : For input = : V out = /8 Vs V out2 = /4 Vs V out3 = /2 Vs The output for any combination of bits comprising the input binary number can now be found using the principle of superposition: V out = b 3 V out3 b 2 V out2 b V out b V out General DAC Characteristics There are six key parameters you should consider when choosing a DAC. eference Voltage esolution Linearity Speed Settling Time Error

eference Voltage To a large extent, the characteristics of a DAC are defined by its reference voltage. Nonmultiplier DAC: V ref is fixed (specified by the manufacturer) Multiplier DAC: V ref is provided via an external source Full Scale Voltage Defined as the output when the digital input word is all s. N 2 V fs = V ref N 2

esolution esolution is a measure of precision, not accuracy. It is defined as the voltage change corresponding to changing the LSB. Many options in the 86 bit range, with 2 bits being a typical cost / resolution trade off. More bits More steps Greater esolution esolution = V LSB = V ef / 2 N *where N is the number of bits Linearity Ideally, a DAC will produce a linear relationship between a binary word and analog output Voltage output 2 3 4 5 6 7 Digital Input Signal (3bit)

Speed Usually specified as conversion or sampling rate. High speed DACs are typically defined as >MS/s (Mhz) Some current 26 bit DACs can reach the GHz range Conversion of input signal is limited by Clock speed of the input signal Settling time of the DAC Settling Time Ideally, an instantaneous change in analog voltage would occur when a new binary word enters into a DAC. Settling time is the time taken by the DAC to reach ½ of the LSB of its new voltage. Components include delay, slew time, and ring time. Fast converters reduce slew time, but usually result in longer ring times. Delay time is normally a small term.

Settling Time (cont.) Cause of Delay Time, Settling Time, and ing Time esistor Ladder DAC Vs Bit 3 Bit 2 Bit Bit Delay time is caused by the time it takes to change these switches based on input bits. Settling time and ing time is determined by the opamp s slew rate Vout

Possible Error Because we do not live in an ideal world, considerations for possible error should be made. NonLinearity Integral Differential Non Monotonicity Offset Error Gain Error Integral Nonlinearity Defined as the deviation of a DAC's transfer function from a straight line. The straight line can be a best approximation to the actual transfer function, or a line drawn between the transfer function's end points (after subtracting the gain and offset errors

Differential NonLinearity The difference between an actual step height and the ideal value of LSB. Should be less than or equal to one to insure monotonicity. NonMonotonicity A monotonic DAC yields an increase in output as input increases. If a differential nonlinearity of greater than LSB occurs, increasing the digital input may actually result in a decreased output. 7 6 5 Analog Output 4 3.75LSB.75LSB 2 2 3 4 5 6 7 8 Digital Input

Gain Error Defined as the difference between the ideal max output voltage and the actual max output voltage (after subtracting offset error). Changes the slope of the output, thereby creating the same percentage error for each step. Expressed in mv as a percentage of the maximum output. Offset Error The offset error equals the analog output when the digital signal is zero. Typically defined in absolute millivolts with (mv being acceptable).

Cause of NonLinearity, Gain error, and Offset error esistor Ladder DAC Vs Nonlinearity is caused by the resistors. esistors in D/A converters need to be matched but manufacturing exact resistors is difficult. Bit 3 Bit 2 Bit Bit Vout Gain Error and Offset Error is caused by opamp and or opamp s feedback resistor DAC Applications DAC s can be found in any device that interfac es digital and analog circuitry Analog Displays Digital Control Systems Digital Audio Communications Countless other applications

eferences DigitalAnalog Converters Are a "Bit" Analog Maxim Semiconductors (http://www.maximic.com/appnotes.cfm/appnote_number/55/ln/en) Component and Measurement Advances Ensure 6Bit DAC Settling Time Jim Williams, Linear Technology July 998 Introduction to Mechatronics and Measurement systems David G. Alciatore and Michael B. Histand, McGrawHill MechatronicsElectronic control systems in mechanical and electrical engineeringw. Bolton, Longman Introduction to Electronic Circuit Designichard. Spencer and Mohammed S. Ghausi, PrenticeHall Questions??