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

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

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

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

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

Analog to digital and digital to analog converters

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

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

CHAPTER ELEVEN - Interfacing With the Analog World

Linear Integrated Circuits

P a g e 1. Introduction

Digital to Analog Conversion. Data Acquisition

Electronics II Physics 3620 / 6620

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

LINEAR IC APPLICATIONS

Outline. Analog/Digital Conversion

Chapter 2 Signal Conditioning, Propagation, and Conversion

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

Analog to Digital Converters

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

EEE312: Electrical measurement & instrumentation

Lecture 6: Digital/Analog Techniques

Analog to Digital Conversion

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

IES Digital Mock Test

Lab Exercise 6: Digital/Analog conversion

System on a Chip. Prof. Dr. Michael Kraft

Electronics A/D and D/A converters

Specifying A D and D A Converters

PHYS225 Lecture 22. Electronic Circuits

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

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

A-D and D-A Converters

Data Converters. Lecture Fall2013 Page 1

16.2 DIGITAL-TO-ANALOG CONVERSION

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Analog-to-Digital i Converters

Analog-to-Digital Conversion

Data Acquisition: A/D & D/A Conversion

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

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

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

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

Computerized Data Acquisition Systems. Chapter 4

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

Chapter 5: Signal conversion

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

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

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

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

CENG4480 Lecture 04: Analog/Digital Conversions

Digital multimeter IENGINEERS- CONSULTANTS LECTURE NOTES SERIES ELECTRONICS ENGINEERING 1 YEAR UPTU. Page 1

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

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

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1

Analog to Digital Conversion

Analogue to Digital Conversion

Analogue-to-Digital Conversion

Data Conversion and Lab (17.368) Fall Lecture Outline

Assoc. Prof. Dr. Burak Kelleci

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

IFB270 Advanced Electronic Circuits

EE 435. Lecture 40. ADC Design

Data Acquisition & Computer Control

The need for Data Converters

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

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

ZN428E8/ZN428J8/ZN428D 8-BIT LATCHED INPUT D-A CONVERTER

University of Pittsburgh

Tel: Fax:

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

SPT BIT, 100 MWPS TTL D/A CONVERTER

Microprocessors & Interfacing

ISSN:

Analog/Digital and Sampling

How do ADCs work? Martin Rowe, Senior Technical Editor -- 7/1/2002 Test & Measurement World

UNITII. Other LICs and Data Converters

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

ADC0816/ADC Bit μp Compatible A/D Converters with 16-Channel Multiplexer

Section 1. Fundamentals of DDS Technology

EE251: Tuesday October 10

ADC Bit µp Compatible A/D Converter

ADC Parameters. ECE/CS 5780/6780: Embedded System Design. Common Encoding Schemes. Two-Bit Flash ADC. Sixteen-Bit Dual Slope ADC

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

Analogue to Digital Conversion

Module 1: Introduction to Experimental Techniques Lecture 2: Sources of error. The Lecture Contains: Sources of Error in Measurement

EE 210 Lab Exercise #4 D/A & A/D Converters

Digital Fundamentals

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Low Cost 10-Bit Monolithic D/A Converter AD561

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

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

PC-based controller for Mechatronics System

Ch 5 Hardware Components for Automation

MEDIUM SPEED ANALOG-DIGITAL CONVERTERS

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

ADC Bit High-Speed µp-compatible A/D Converter with Track/Hold Function

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

3. DAC Architectures and CMOS Circuits

Chapter 13 Oscillators and Data Converters

Transcription:

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

2 1. DAC In an electronic circuit, a combination of high voltage (+5V) and low voltage (0V) is usually used to represent a binary number. For example, a binary number 1010 is represented by Weighting 2 3 2 2 2 1 2 0 Binary Digit 1 0 1 0 State +5V 0V +5V 0V DACs are electronic circuits that convert digital, (usually binary) signals (for example, 1000100) to analog electrical quantities (usually voltage) directly related to the digitally encoded input number.

Register 3 DACs are used in many other applications, such as voice synthesizers, automatic test system, and process control actuator. In addition, they allow computers to communicate with the real (analog) world. Input Binary Number Voltage Switch Resistive Summing Network Amplifier Analog Voltage Output

4 Register: Use to store the digital input (let it remain a constant value) during the conversion period. Voltage: Similar to an ON/OFF switch. It is closed when the input is 1. It is opened when the input is 0. Resistive Summing Network: Summation of the voltages according to different weighting. Amplifier: Amplification of the analog according to a pre-determined output voltage range. For example, an operation amplifier

5 The two most popular types of resistive summing networks are: Weighted binary resistance type, and Ladder resistance (R-2R) type

6 2. ADC Numerous methods are used for converting analog signals to digital form. Five most commonly used methods are listed below: Staircase ramp Successive approximation Dual slope Voltage to frequency Parallel (or flash)

7 Type of ADC Speed Price Noise Conversion Immunity Time Constant Voltage to frequency Dual slope Vary Staircase Vary ramp Successive approximation Parallel (or flash) T max f Constant n T f Constant Not feasible for high resolution n 2

8 lock Diagram Start Clock 8-bit ADC Control & Timing End of Conversion 8 Analog Inputs 8 Channels Multiplexing Switches S.A.R. Comparator Output Latch Buffer 8-bit Output Switch Tree 3-bit Address Address Latch Enable Address Latch and Decoder 256R Resistor Ladder V CC GND +V ref -V ref Output Enable

9 When this ADC is connected to a computer, the sequence of operation is listed below: 1. The computer reads the EOC to check the ADC is busy or not. 2. If the ADC is not busy when the computer selects the input channel and send out the Start signal. Otherwise, step (1) is repeated. 3. The computer monitors the EOC. 4. When the EOC is activated, the computer reads the digital output. When there is more than one ADCs being linked to the computer, they can be connected in parallel. Using the output enable can do the selection of ADC output.

10 3. Selection of DAC For the selection of an IC DAC, there are several parameters that can determine the suitability of a particular device. Resolution The number of bits making up the input data word that will ultimately determine the output step voltage as a percentage of fullscale output voltage. Example: Calculate the resolution of an 8-bit DAC. Solution: Resolution = 8 bits Percentage resolution = 1 1 100% 100% 8 2 256 0.391%

11 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. Solution: Output voltage range = 7.5 4.5 = 3.0V

12 Accuracy The accuracy is usually expressed by the error in output voltage compared with the expected output voltage. The higher the accuracy, the lower will be the error. Due to the incremental nature of the digital input word, an error can be tolerated but it should not exceed ±½LSB or ½resolution. Example. The error at full-scale for an 8-bit DAC with 10V maximum output is 50mV. Calculate the error and compare it with the resolution. Solution: Error = 0.05 100% 10 0.5% 1 Resolution = 100% 0.391% ; ½ Resolution = 0.195% 256

13 The accuracy is not as good as the error = ½ resolution, but for many applications, it is quite satisfactory. Some commercially available DACs have their accuracy specified as worse than ½ resolution. Sources of errors may be broadly classified under four categories: Non-monotonicity Non-linearity Scale-factor error Offset error

14 Settling time The time taken for the applied digital input to be converted to an analog output. Typical period can be as low as 100ns, making DA conversion a very fast process compared with those of AD conversion. Input coding The digital input can be in binary format or it can be in binary coded decimal format depending on the application. Binary format is more commonly used.

15 Binary-coded decimal, or BCD, is a method of using binary digits to represent the decimal digits 0 through 9. A decimal digit is represented by four binary digits, as shown below: BCD Decimal 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9

16 It should be noted in the table above that the BCD coding is the binary equivalent of the decimal digit. However, BCD and binary are not the same. For example, 49 10 in binary is 110001 2, but 49 10 in BCD is 01001001 BCD. Each decimal digit is converted to its binary equivalent.

17 4. Selection of ADC The parameters used in selecting an ADC are very similar to those considered for a DAC selection. Error/Accuracy: Quantising error represents the difference between an actual analog value and its digital representation. Ideally, the quantising 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)

18 To measure an AC voltage at a particular instant in time, it is necessary to sample the waveform with a sample and hold (S/H) circuit. Hold Input Sample Output to ADC

5. Worked Examples Question 1. Calculate the maximum conversion time of (a) a 8-bit staircase ramp ADC and (b) a successive approximation ADC, if the clock rate is 2MHz. Solution: (a) For a 8-bit staircase ramp ADC, the maximum number of count is n c = 28 = 256 Therefore, the maximum conversion time is 19 T c n f c 256 128 10 6 s 2 10 6 128 s

20 (b) For a 8-bit successive approximation ADC, the conversion time is constant and equal to T c n f 8 6 4 10 s 6 2 10 4 s It can be noted that the conversion speed of successive approximation ADC is much faster than the staircase ramp type.

21 Question 2. Find out the percentage resolution of a DAC of n bits, and hence determine the value for n = 12. Solution: Percentage resolution = For n = 12, Percentage resolution = 1 100% n 2 1 100% 0.0244% 12 2 244ppm(part per million)

Thank you 22