Data Conversion and Lab (17.368) Fall Lecture Outline

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

Data Conversion and Lab (17.368) Fall Lecture Outline

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

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)

MICROPROCESSORS A (17.383) Fall Lecture Outline

P a g e 1. Introduction

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

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

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

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

Outline. Analog/Digital Conversion

A-D and D-A Converters

CENG4480 Lecture 04: Analog/Digital Conversions

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

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

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

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

Operational Amplifiers (Op Amps)

Lecture 6: Digital/Analog Techniques

Digital to Analog Conversion. Data Acquisition

Learning Objectives:

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

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

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

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

EE251: Tuesday October 10

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

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

Chapter 5: Signal conversion

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

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

Designing Information Devices and Systems I Spring 2015 Homework 6

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

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

Basic Operational Amplifier Circuits

Analog to Digital Converters

Lab Exercise 6: Digital/Analog conversion

Logic Design I (17.341) Fall Lecture Outline

IFB270 Advanced Electronic Circuits

PHYS225 Lecture 22. Electronic Circuits

University of Pittsburgh


INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

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

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

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

Chapter 2 Signal Conditioning, Propagation, and Conversion

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

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

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

Introduction to Operational Amplifiers

SCRIPT. Voltage Dividers

Transfer Function DAC architectures/examples Calibrations

Lecture #3 Basic Op-Amp Circuits

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

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

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

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

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

Data Acquisition: A/D & D/A Conversion

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

Design of Pipeline Analog to Digital Converter

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

Analog circuit design ( )

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

ET475 Electronic Circuit Design I [Onsite]

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

Analog to Digital Conversion

Low Cost 10-Bit Monolithic D/A Converter AD561

16.2 DIGITAL-TO-ANALOG CONVERSION

Data Converter Fundamentals

Select the Right Operational Amplifier for your Filtering Circuits

CHAPTER ELEVEN - Interfacing With the Analog World

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

Assoc. Prof. Dr. Burak Kelleci

Analytical Chemistry II

Experiments #7. Operational Amplifier part 1

Laboratory 6. Lab 6. Operational Amplifier Circuits. Required Components: op amp 2 1k resistor 4 10k resistors 1 100k resistor 1 0.

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

Question Paper Code: 21398

System on a Chip. Prof. Dr. Michael Kraft


(Refer Slide Time: 00:03:22)

Operational amplifiers

De Anza College Department of Engineering Engr 37-Intorduction to Circuit Analysis

Operational Amplifier (Op-Amp)

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

Switch Mode Power Conversion Prof. L. Umanand Department of Electronics System Engineering Indian Institute of Science, Bangalore

The need for Data Converters

Syllabus for ENGR065-01: Circuit Theory

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

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

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

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

INTRODUCTION. Figure 1 Three-terminal op amp symbol.

Transcription:

Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 07 October 17, 2013 Dohn Bowden 1

Today s Lecture Outline Administrative Detailed Technical Discussions Digital to Analog Conversion Lab Lab #3 Homework 2

Course Admin 3

Syllabus Review Week Date Topics Lab Lab Report Due 1 09/05/13 Introduction/Basic Data Conversion, Course Overview, Op Amps in Data Conversion 2 09/12/13 Op Amp Lab 1 3 09/19/13 Sample and Hold Lecture and Lab 2 4 09/26/13 A/D Conversion Fundamentals and Lab 3 1 5 10/03/13 A/D Conversion Lab Continuation 3 con t 6 10/10/13 Examination 1 7 10/17/13 D/A Conversion Fundamentals and Lab 3 8 10/24/13 D/A Conversion Lab Continuation 4 2 9 10/31/13 Microcontroller and Sensors 4 con t 3 10 11/07/13 Microcontroller and Sensor Lab 5 11 11/14/13 V/F and F/V Conversion Lecture 5 con t 4 12 11/21/13 Examination 2 Project 5 X 11/28/13 No Class Thanksgiving 13 12/05/13 Work on Course Project Project 14 12/12/13 Final Exam/Course Project Brief and Demonstration Demo 4

Exam #1 Exams have been graded I will pass them back when you start the lab portion of the class tonight 5

Detailed Technical Discussion 6

References 7

References Lecture material is covered in the text as follows Data Conversion Handbook On line version (PDF) 3.1 3.35 Textbook (Hard Copy) Pages 147-173 8

DAC Overview 9

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 10

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

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

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 13

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 14

Basic DAC with External Reference 15

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

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 17

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

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 19

The Kelvin Divider (String DAC) 20

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 21

Binary-Weighted DACs 22

Voltage-Mode-Binary-Weighted Resistor DAC 23

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 24

4-Bit Binary-Weighted DAC 25

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 26

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 27

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 28

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 29

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 30

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

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 32

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 33

Binary-Weighted DACs Assuming all switches are open V V V V 1 = 2 = 3 = 4 = 0 volts therefore V OUT = 0 volts Assuming all switches are closed V1 = V2 = V3 = V4 = 5 volts 34

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 75 3 15 = *10 * R F R k 100 F = 20 Having all the resistor values of the circuit, we now can look at an example 35

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

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 37

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 38

R-2R DACs 39

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 40

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 41

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 42

R-2R Ladder D/A Converter 43

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 44

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 45

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. 46

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) 47

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 48

DAC0808 an 8-Bit DAC 49

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 50

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 51

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 52

DAC Specifications 53

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

Lab 55

Lab #3 and #4 56

Lab #3 Overview To construct and operate an A/D Converter using the ADC804 57

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 58

Next Class 59

Next Class Topics Lab only 60

Homework 61

Homework 1. Lab Reports Lab report #2 is due 10/24/13 Enough time so you can review your graded Lab Report #1 and make any changes for Lab #2 62

Time to start the lab 63

Lab Lab #3 64

Questions? 65