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

Similar documents
Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline

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

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

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

P a g e 1. Introduction

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

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

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

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

Outline. Analog/Digital Conversion

A-D and D-A Converters

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

CENG4480 Lecture 04: Analog/Digital Conversions

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

MICROPROCESSORS A (17.383) Fall Lecture Outline

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

Operational Amplifiers (Op Amps)

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

Lecture 6: Digital/Analog Techniques

Digital to Analog Conversion. Data Acquisition

Learning Objectives:

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

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

Microprocessors & Interfacing

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

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

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

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

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

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

Designing Information Devices and Systems I Spring 2015 Homework 6

Logic Design I (17.341) Fall Lecture Outline

Chapter 5: Signal conversion

Analog to Digital Converters

IFB270 Advanced Electronic Circuits

EE251: Tuesday October 10

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

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

Basic Operational Amplifier Circuits


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

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

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

Chapter 2 Signal Conditioning, Propagation, and Conversion

Electronics Prof D. C. Dube Department of Physics Indian Institute of Technology, Delhi

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

Basic electronics Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras Lecture- 24

SCRIPT. Voltage Dividers

Lab Exercise 6: Digital/Analog conversion

PHYS225 Lecture 22. Electronic Circuits

Introduction to Operational Amplifiers

Transfer Function DAC architectures/examples Calibrations

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

Lecture #3 Basic Op-Amp Circuits

University of Pittsburgh

EEE 2101 Circuit Theory I - Laboratory 1 Kirchoff s Laws, Series-Parallel Circuits

Lecture 14 Interface Electronics (Part 2) ECE 5900/6900 Fundamentals of Sensor Design

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

Data Acquisition: A/D & D/A Conversion

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

Page 1. Midterm #2. OpAmp Review. Inverting & Non-inverting Circuits CS/ECE 6780/5780. Al Davis. Almost ubiquitous analog circuit element since ~1968

Analog circuit design ( )

Design of Pipeline Analog to Digital Converter

Selecting and Using High-Precision Digital-to-Analog Converters

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

GUJARAT TECHNOLOGICAL UNIVERSITY. INSTRUMENTATION & CONTROL ENGINEERING (17) ANALOG SIGNAL PROCESSING SUBJECT CODE: B.E.

Analog to Digital Conversion

Assoc. Prof. Dr. Burak Kelleci

CHAPTER ELEVEN - Interfacing With the Analog World

Analytical Chemistry II

Experiments #7. Operational Amplifier part 1

ELECTRONICS. EE 42/100 Lecture 8: Op-Amps. Rev B 3/3/2010 (9:13 PM) Prof. Ali M. Niknejad

ELECTRONICS. EE 42/100 Lecture 8: Op-Amps. Rev A 2/10/2010 (6:47 PM) Prof. Ali M. Niknejad

Analogue to Digital Conversion

System on a Chip. Prof. Dr. Michael Kraft

Question Paper Code: 21398


ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

(Refer Slide Time: 00:03:22)

Operational amplifiers

The need for Data Converters

SILVER OAK COLLEGE OF ENGG. & TECHNOLOGY Midsem I Syllabus Electronics & communication Engineering

Filter Design, Active Filters & Review. EGR 220, Chapter 14.7, December 14, 2017

Low Cost 10-Bit Monolithic D/A Converter AD561

16.2 DIGITAL-TO-ANALOG CONVERSION

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

Optimizing the Stage Resolution of a 10-Bit, 50 Ms/Sec Pipelined A/D Converter & Its Impact on Speed, Power, Area, and Linearity

Laboratory 9. Required Components: Objectives. Optional Components: Operational Amplifier Circuits (modified from lab text by Alciatore)

Select the Right Operational Amplifier for your Filtering Circuits

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

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

Data Converter Fundamentals

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

INTRODUCTION. Figure 1 Three-terminal op amp symbol.

Lab 2 Operational Amplifier

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

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

ELEC273 Lecture Notes Set 4, Mesh Analysis

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

Transcription:

DATA CONVERSION AND LAB (17.368) Fall 2008 Class # 07 October 16, 2008 Dohn Bowden 1

Today s Lecture Outline Course Admin Lab #3 next week Exam in two weeks 10/30/08 Detailed Technical Discussions Digital to Analog Conversion Lab Start Lab # 4 Lab # 4 will continue next week Homework 2

3

Tonight s Admin Syllabus Review 4

Syllabus Review Week Date Topics Lab Lab Results Due 07 10/16/08 D/A Conversion Fundamentals and Lab 4 08 10/23/08 D/A Conversion Lab Continuation 4 con t Lab # 3 09 10/30/08 Exam #1 10 11/06/08 Microcontroller and Sensor Lab 5 Lab # 4 11 11/13/08 V/F and F/V Conversion Lecture and Lab 6 12 11/20/08 Course Project Lab # 5 11/27/08 NO CLASS Thanksgiving Break 13 12/04/08 Exam #2 and Course Project Lab # 6 14 12/11/08 Final Exam Project Brief & Demonstration 5

6

Lecture material is covered in The text Pages 147-173 7

DAC (Digital to Analog Conversion) Overview 8

Digital to Analog Converters Devices with digital input and analog output Abbreviations D/A converters ~~~ Digital-to-Analog (D/A) Converters DAC ~~~ Digital-to-Analog Converters DACs are used to convert digital values in the form of a binary number into proportional analog voltages or currents V REF 9

DAC Lecture Overview We shall consider the various architectures of DACs And we shall also consider the forms which the reference may take 10

DACs Although DACs are available in IC packages We shall analyze them in a discrete form to better describe and understand how they function 11

DAC Example A voice signal can be digitized for storage, processing, or transmission and then Converted back to an analog (audio) signal to drive a speaker 12

DAC Reference Signal The analog output depends on the presence of an analog input known as the reference (V REF ) The accuracy of the reference input (V REF ) is almost always the limiting factor on the absolute accuracy of a DAC 13

Basic DAC with External Reference 14

Digital to Analog Conversion Output The output of a DAC may be a voltage or a current 15

Basic DAC Structures In the ADC lecture we saw that a comparator was a Simple 1-Bit Analog to Digital Converter The equivalent DAC (a 1-Bit DAC) is a changeover switch Switching an output between» A reference and Ground or» Between equal positive and negative reference voltages 16

1-Bit DAC Changeover Switch Single-Pole, Double Throw, SPDT 17

1-Bit Digital to Analog Converter Such a simple device is a component of many more complex DAC structures We shall go into more detail when we discuss more complex structures 18

The Kelvin Divider (String DAC) 19

The Kelvin Divider or String DAC The simplest DAC structure of all, after the changeover switch An N-bit version of this DAC consists of 2 N equal resistors in series and 2 N switches The output is taken by closing just one of the switches The origins of this DAC date back to Lord Kelvin in the mid-1800s, and it was first implemented using resistors and relays, and later with vacuum tubes in the 1920s The major drawback of the String DAC is the large number of resistors and switches required for high resolution 20

Binary-Weighted DACs 21

Voltage-Mode-Binary-Weighted Resistor DAC 22

Voltage-Mode-Binary-Weighted Resistor DAC Simplest textbook example of a DAC It s not inherently monotonic A Monotonic DAC has an output that changes in the same direction (or remains constant) for each increase of the input code Hard to manufacture successfully at high resolutions The output impedance changes with the input code 23

4-Bit Binary-Weighted DAC 24

Binary-Weighted DACs A 4-Bit Binary-Weighted DAC is shown on the previous slide It consists of A summing amplifier Feedback resistor R F Four summing resistors (one for each input bit) Four switches that are used to provide a 4-bit binary input An open switch represents a 0 state A closed switch represents a 1 state 25

Binary-Weighted DACs The switches correspond to the same 8-4-2-1 weighted values of a 4-bit binary number»2 3 2 2 2 1 2 0 26

Binary-Weighted DACs The resistors are also selected with the same proportionality rule Since R4 is connected at the MSB input line It will have the smallest value So as to allow the most current going through it» Hence contributing to the biggest output swing 27

Binary-Weighted DACs The next most significant bit contributes half that of the MSB, therefore The resistor value R 3 is selected to be double of R 4 With the same reasoning R 2 is to be double of R 3 and R 1 is selected to be double of R 2 28

Binary-Weighted DACs Therefore R 1 = 2R 2 = 4R 3 = 8R 4 Selecting R 4 = 12.5 k We obtain R 3 = 25 k which is 2* R 4 R 2 = 50 k which is 2* R 3 R 1 = 100 k which is 2* R 2 29

4-Bit Binary-Weighted DAC Circuit Repeated for some additional analysis 30

Binary-Weighted DACs In this summing amplifier circuit we have Where OUT ( I R ) V = * F R R I F = I + I + I + F R1 R2 R3 R4 I And I R = 1 V R 1 1 I R = 2 V R 2 2 I R = 3 V R 3 3 I R = 4 V R 4 4 Therefore V V = + V 1 2 3 4 OUT R F R R R R 1 2 3 4 + V + V 31

Binary-Weighted DACs Obviously, if one switch is open, the corresponding voltage is 0v And if one switch is closed, the corresponding voltage is 5v 32

Binary-Weighted DACs Assuming all switches are open V1 = V2 = V3 = V4 = 0K volts therefore V OUT = 0 volts Assuming all switches are closed V1 = V2 = V3 = V4 = 5K volts 33

Binary-Weighted DACs What feedback resistor do we need if we want the maximum output voltage to be (-15 volts)? From the prior equation the value of the feedback resistor is 15 = 5 100 + 5 50 + 5 25 + 5 *10 12.5 3 * R F 5 + 10 + 20 + 40 15 = *10 100 3 * RF 15 75 3 = *10 * R F R k 100 F = 20 Having all the resistor values of the circuit, we now can look at an example 34

Example What will be the output voltage for a 1001 input, using the circuit below? See next slide 35

Example What will be the output voltage for a 1001 input, using the circuit on the prior slide? We would have V4 5 I R 4 = = = 0. 4mA I 3 = 2 = 0 R 12.5k R I R 4 V1 5 I R 1 = = = 0. 05mA R 100K 1 Hence I R F = I R1 + I R2 + I R3 + I R4 = 0.05 + 0 + 0 + 0.4 = 0. 45mA Therefore V 3 3 ( I * R ) = ( 0.45*10 )*( 20*10 ) = volts OUT = RF F 9 V OUT = -9 volts 36

4-Bit Input Binary-Weighted D/A Converter Results All 16 possible input combinations with the corresponding output voltage together with a plot of the analog output vs. the digital input The actual output voltages are negative. The graph above actually has the magnitude (absolute value) of the output voltage 37

R-2R DACs 38

R-2R DACs The next DAC architecture that we shall discuss is the R-2R A problem with the Binary-Weighted DAC is that it requires a large number of different value resistors Some of which become very large 39

Problem with the Binary-Weighted DAC Consider the case of a 12-bit Binary-Weighted DAC You would need 12 different resistor values If you were to select a 12.5K for the resistor the MSB branch The resistor for the LSB branch would be 25.6M! 2 1 =12.5K 2 2 =25K 2 3 =50K 2 4 =100K 2 5 =200K 2 6 =400K 2 7 =800K 2 8 =1.6M 2 9 =3.2M 2 10 =6.4M 2 11 =12.8M 2 12 =25.6M 40

Problem with the Binary-Weighted DAC To avoid the problem of needing a large number of different value of resistors when using the Binary-Weighted DAC (some of which become very large) Which is mainly a manufacturing cost-prohibitive issue We can use the R-2R Ladder D/A converter 41

R-2R Ladder D/A Converter 42

R-2R DACs The circuit gets its name from the fact that it uses two resistor values One being double (2R) of the other (R) The R-2R ladder resistor network is the same as the Binary- Weighted circuit It weighs the input so that each input has twice the value of the previous one 43

R-2R DACs For example The current supplied to the feedback resistor from the resistive network when Input B (SW3) is activated Should be double that supplied when Input A (SW4) is activated 44

R-2R DACs Since the R-2R ladder is a linear circuit We can apply the principle of superposition to calculate V OUT Superposition Theorem The total current in any part of a linear circuit equals the algebraic sum of the currents produced by each source separately The expected output voltage is calculated by summing the effect of all bits connected to V REF. 45

R-2R DACs The output voltage is given by the following equation: R f D C B A V OUT = + + + * V R 2 4 8 16 REF Where D, C, B, A corresponds to the inputs D, C, B, A The values of D, C, B, A being either» 1 (switch to 5v) or» 0 (switch to ground) 46

R-2R DACs Assume R f = R = 10K eliminates amplifying by 2 if R f = 20K The minimum output voltage is 0 volts when Inputs A, B, C, D are all 0 (switch grounded) And the maximum output voltage, when the inputs A, B, C, D are at 1 is 1 1 1 1 15 15 VOUT V V Volts ( MAX = + + + * ) REF = REF = *5 = 4. 6875 2 4 8 16 16 16 You would expect V OUT to be able to reach V REF, but it doesn't Reason: 0v counts as a "digital step", otherwise we would have an extra step above the maximum number of steps allowed by the number of bits 47

DAC0808 an 8-Bit DAC 48

DAC0808 an 8-Bit DAC Some DACs contain an internal op-amp but the DAC0808 doesn t The internal components supply proportional currents to its output lead (pin #4) We connect the DAC0808 to a 741 op-amp The max output current flow allowed out of pin #4 is 2 ma 49

AN EXAMPLE We want An analog output ranging from 0V to 10V Limit the output current to 2 ma max What feedback resistor do we need? An input of 00000000 we would have 0 volts and 0 ma at the input And for an input of 11111111 we want 10 volts and 2 ma output Therefore R V = I * R OUT V = I If we needed a different output voltage range we would adjust R F accordingly to limit the output to 2 ma F 10 = F OUT F = 5 F.002 K 50

Other DAC Architectures You now have the basic idea as to how DACs function The text contains a number of other architectures We are not going to go into them The principles are similar to what we have just went over You may want to take some time and explore these architectures At least know what they are if you need to use them 51

Digital to Analog Converter Specifications 52

Performance Specifications Resolution Accuracy Linearity Monotonicity Settling Time» We will not discuss these at this time 53

54

Lab #4 Overview Will construct and operate a binary-weighted DAC Will construct and operate a Digital to Analog Converters Test the ADC and DAC With DC Input Test the ADC and DAC With A Sinusoidal Input ~~ OPTIONAL ~~ Integrated Digital to Analog Converter Signal Generator 55

56

Next Class Topics Complete Lab #4 57

58

Homework 1. Lab Reports Lab report #3 is due next week 10/23 2. Exam #1 in 2 weeks (10/30) bring any questions with you to the next class 59

60