CENG4480 Lecture 04: Analog/Digital Conversions

Similar documents
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 Acquisition: A/D & D/A Conversion

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

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

Lecture 6: Digital/Analog Techniques

IFB270 Advanced Electronic Circuits

P a g e 1. Introduction

Electronics A/D and D/A converters

Digital to Analog Conversion. Data Acquisition

CENG4480 Lecture 02: Operational Amplifier 1

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

Lecture #3 Basic Op-Amp Circuits

CHAPTER ELEVEN - Interfacing With the Analog World

Operational Amplifiers (Op Amps)

Data Conversion and Lab (17.368) Fall Lecture Outline

Chapter 2 Signal Conditioning, Propagation, and Conversion

Fig 1: The symbol for a comparator

Chapter 5: Signal conversion

A-D and D-A Converters

Learning Objectives:

Outline. Analog/Digital Conversion

Basic Operational Amplifier Circuits

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

Analog to Digital Converters

Operational Amplifiers


Electronics II Physics 3620 / 6620

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

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

Cyber-Physical Systems ADC / DAC

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

EE251: Tuesday October 10

IES Digital Mock Test

Digital Design Laboratory Lecture 7. A/D and D/A

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

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

PHYS225 Lecture 22. Electronic Circuits

LESSON PLAN. SUBJECT: LINEAR IC S AND APPLICATION NO OF HOURS: 52 FACULTY NAME: Mr. Lokesh.L, Hema. B DEPT: ECE. Portions to be covered

Design And Simulation Of First Order Sigma Delta ADC In 0.13um CMOS Technology Jaydip H. Chaudhari PG Student L. C. Institute of Technology, Bhandu

Analogue to Digital Conversion

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

1 Signals and systems, A. V. Oppenhaim, A. S. Willsky, Prentice Hall, 2 nd edition, FUNDAMENTALS. Electrical Engineering. 2.

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

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

EEE312: Electrical measurement & instrumentation

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

LINEAR IC APPLICATIONS

Analog to digital and digital to analog converters

Transistor Design & Analysis (Inverter)

Introduction to Analog Interfacing. ECE/CS 5780/6780: Embedded System Design. Various Op Amps. Ideal Op Amps

16.2 DIGITAL-TO-ANALOG CONVERSION

Question Paper Code: 21398

CMOS High Speed A/D Converter Architectures

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

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

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

ECE 6770 FINAL PROJECT

Lecture #6: Analog-to-Digital Converter

Figure 1.1 Mechatronic system components (p. 3)

The need for Data Converters

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

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

RESIDUE AMPLIFIER PIPELINE ADC

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

EE 230. Electronic Circuits and Systems. Randy Geiger 2133 Coover

Electronic PRINCIPLES

Microprocessors & Interfacing

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

University of Pittsburgh

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

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

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

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

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

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

Linear Integrated Circuits

The New England Radio Discussion Society electronics course (Phase 4, cont d) The versatile op-amp

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

Lecture 6: Electronics Beyond the Logic Switches Xufeng Kou School of Information Science and Technology ShanghaiTech University

Lecture 9, ANIK. Data converters 1

Schmitt trigger. V I is converted from a sine wave into a square wave. V O switches between +V SAT SAT and is in phase with V I.

Experiments #7. Operational Amplifier part 1

Minnesota State College Southeast ELEC 2260: Linear Integrated Circuits

Last Time. P and N type semiconductors Diode internals Transistors NPN PNP

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

AN207. Circuit Description. The DG611 has a normally closed (NC) function while the DG612 is a normally open (NO) device.

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

FIRSTRANKER. 1. (a) What are the advantages of the adjustable voltage regulators over the fixed

Analog to Digital Conversion

Low Cost 10-Bit Monolithic D/A Converter AD561

EE 435 Switched Capacitor Amplifiers and Filters. Lab 7 Spring 2014 R 2 V OUT V IN. (a) (b)

Digital Integrated CircuitDesign

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

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016

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

PHYS225 Lecture 10. Electronic Circuits

Applied Electronics II

A 14b 40Msample/s Pipelined ADC with DFCA

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

Transcription:

CENG4480 Lecture 04: Analog/Digital Conversions Bei Yu byu@cse.cuhk.edu.hk (Latest update: October 3, 2018) Fall 2018 1 / 31

Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 2 / 31

Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 3 / 31

Analog/Digital Conversions Topics: Digital to analog conversion Analog to digital conversion Sampling-speed limitation Frequency aliasing Practical ADCs of different speed 3 / 31

Block Diagrams 4 / 31

Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 5 / 31

Op-Amp Comparator Open-Loop Mode v out = A V (v + v ) Extreme large gain Any small difference ɛ will cause large outputs. 5 / 31

Voltage Supply Limits Op-amp output with voltage supply limit (V + S = V S = 15) Powered by external DC voltage supplies V S + & V S Amplifying signals only within the range of supply voltages In a practical op-amp, saturation would be reached at 1.5 V below the supply voltags. 6 / 31

Switching waveforms by Comparator Since ɛ = Vcos(ωt), therefore Switching waveforms of non-inverting comparator. ɛ > 0 v out = V + sat ɛ < 0 v out = V sat *V sat: saturation voltage (e.g., ±15 V supplies is approximately ±13.5 V) 7 / 31

Noninverting & Inverting Comparator v in + - vout v in - + v out (a) Noninverting comparator (b) Inverting comparator 8 / 31

Limitation of Conventional Comparator In the presence of noisy inputs Cross the reference voltage level repeatedly Cause multiple triggering 9 / 31

Schmitt Trigger Based on Inverting comparator Positive feedback (+) Increase the switching speed (+) Noise immunity 10 / 31

11 / 31 Question: prove two reference voltages of schmitt trigger.

Sample-and-Hold Amplifier Motivations: When a slow ADC is used to sample a fast changing signal only a short sampling point can be analyzed To resolve uncertainty during ADC freeze the value of analog waveform for a time sufficient for the ADC to complete its task 12 / 31

Sample-and-Hold Amplifier A MOSFET analog switch is used to sample analog waveform While MOSFET conducts, charge the hold capacitor 13 / 31

Good Sample, Bad Sample When sampling 6 times per cycle, close to the original. when sampling 3 times per cycle, less reliable but frequency is equal to original. When sampling 6 times per 5 cycles, frequency is different. 14 / 31

Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 15 / 31

Digital-to-Analog Converter (DAC) V +ref ( High Reference Voltage) Output voltage = V out (n) Input code (n bit Binary code) 0110001 0100010 0100100 0101011 : : DAC V -ref (Low Reference Voltage) V out = (b 3 b 2 b 1 b 0 ) 2 = (b 3 2 3 + b 2 2 2 + b 1 2 1 + b 0 2 0 ) 10 = (8b 3 + 4b 2 + 2b 1 + b 0 ) v + V ref v: smallest step size by which voltage can increase 15 / 31

How to Determine v? V +ref ( High Reference Voltage) Output voltage = Vout(n) DAC output V +ref Input code (n bit Binary code) 0110001 0100010 0100100 0101011 : : DAC DV V -ref V-ref (Low Reference Voltage) Code (n) where n is the bit# of input digital signal. v = V +ref V ref 2 n, 16 / 31

DAC Characteristics Glitch: A transient spike in the output of a DAC that occurs when more than one bit changes in the input code. Use a low pass filter to reduce the glitch Use sample-and-hold circuit to reduce the glitch Settling time: Time for the output to settle to typically 1/4 LSB after a change in DA output. 17 / 31

DAC Type 1: Weighted Adder DAC Similar to summing amplifier: v a = i ( R F R i b i v in ) 18 / 31

DAC Type 1: Weighted Adder DAC Similar to summing amplifier: v a = i ( R F R i b i v in ) If we select R i = R 0 2 i : v a = R F R 0 (2 n 1 b n 1 + + 2 1 b 1 + 2 0 b 0 ) v in Note here V ref is 0 (ground) 18 / 31

DAC Type 1: Weighted Adder DAC Similar to summing amplifier: v a = i ( R F R i b i v in ) If we select R i = R 0 2 i : v a = R F R 0 (2 n 1 b n 1 + + 2 1 b 1 + 2 0 b 0 ) v in Note here V ref is 0 (ground) Limitations: Impossible to fabricate a wide range of resistor values in the same IC chip 18 / 31

Question: 4-bit DAC For given (b 3 b 2 b 1 b 0 ) = {(1111), (0000), (1010)}, calculate v a. 19 / 31

Practical Resistor Network DAC and Audio Amplifier Data Bit Ideal R Real R 0 (LSB) 256K 270K 1 128K 130K 2 64K 62K 3 32K 33K 4 16K 16K 5 8K 8.2K 6 4K 3.9K 7 (MSB) 2K 2K Not perfect, but okay. 20 / 31

DAC Type 2: R-2R DAC _ + R V0 V-ref Motivations: Use only two values of resistors which make for easy and accurate fabrication and integration At each node, current is split into 2 equal parts The most popular DAC 21 / 31

DAC Type 2: R-2R DAC _ + R V0 V-ref Reference: http://www.tek.com/blog/tutorial-digital-analog-conversion r-2r-dac 22 / 31

DAC Type 2: R-2R DAC _ + R V0 V-ref Given I as input value (n bit): V o3 = V b0 16 + V b1 8 + V b2 4 + V b3 2 23 / 31

_ + R V0 V-ref Question: R-2R DAC For given (b 3 b 2 b 1 b 0 ) = {(1111), (0000), (1010)}, calculate v o3. 24 / 31

Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 25 / 31

Analog-to-Digital Converter (ADC) V +ref Input voltage = V V -ref ADC output code = n 0110001 0100010 0100100 0101011 : : : 25 / 31

Quantization Convert an analog level to digital output Employ 2 n 1 intervals (n: bit#) v a : analog voltage v d : output digital voltage 26 / 31

ADC Type 1: Integrating ADC Accumulate the input current on a capacitor for a fixed time Then measure time (T) to discharge the capacitor When cap is discharged to 0 V, comparator will stop the counter 27 / 31

ADC Type 1: Integrating ADC Accumulate the input current on a capacitor for a fixed time Then measure time (T) to discharge the capacitor When cap is discharged to 0 V, comparator will stop the counter Limination: Slow 27 / 31

ADC Type 2: Tracking ADC ADC repeatedly compares its input with DAC outputs Up/down count depends on input/dac output comparison 28 / 31

ADC Type 2: Tracking ADC ADC repeatedly compares its input with DAC outputs Up/down count depends on input/dac output comparison Limination: Slow 28 / 31

ADC Type 3: Successive Approximation Replace Up-down counter by control logic Binary search to determine the output bits still slow although faster than types 1 & 2 29 / 31

Flow chart of Successive-approximation ADC 30 / 31

ADC Type 4: Flash ADC Divide the voltage range into 2 n 1 levels Use 2 n 1 comparators to determine what the voltage level is Fully parallel Pros: 31 / 31

ADC Type 4: Flash ADC Divide the voltage range into 2 n 1 levels Use 2 n 1 comparators to determine what the voltage level is Fully parallel Pros: Very fast for high quality audio and video Sample and hold circuit NOT required Cons: 31 / 31

ADC Type 4: Flash ADC Divide the voltage range into 2 n 1 levels Use 2 n 1 comparators to determine what the voltage level is Fully parallel Pros: Very fast for high quality audio and video Sample and hold circuit NOT required Cons: Very expensive for wide bits conversion 31 / 31