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

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

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

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

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

A 4 GSample/s 8-bit ADC in. Ken Poulton, Robert Neff, Art Muto, Wei Liu, Andrew Burstein*, Mehrdad Heshami* Agilent Laboratories Palo Alto, California

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Quad 12-Bit Digital-to-Analog Converter (Serial Interface)

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

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

Another way to implement a folding ADC

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

Lecture 6: Digital/Analog Techniques

AD557 SPECIFICATIONS. T A = 25 C, V CC = 5 V unless otherwise noted) REV. B

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

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

CHAPTER ELEVEN - Interfacing With the Analog World

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800)

6-Bit A/D converter (parallel outputs)

A-D and D-A Converters

Assoc. Prof. Dr. Burak Kelleci

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

The need for Data Converters

DACPORT Low Cost, Complete P-Compatible 8-Bit DAC AD557*

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

Low Cost 10-Bit Monolithic D/A Converter AD561

Outline. Analog/Digital Conversion

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

10.1: A 4 GSample/s 8b ADC in 0.35-um CMOS

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

Microprocessor-Compatible 12-Bit D/A Converter AD667*

16-Bit ANALOG-TO-DIGITAL CONVERTER

TYPICAL APPLICATION LTC1591/LTC1591-1

P a g e 1. Introduction

Software Programmable Gain Amplifier AD526

IFB270 Advanced Electronic Circuits

Analogue to Digital Conversion

10-Bit µp-compatible D/A converter

Low-Power Pipelined ADC Design for Wireless LANs

EE247 Lecture 20. Comparator architecture examples Flash ADC sources of error Sparkle code Meta-stability

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

QUAD 12-BIT DIGITAL-TO-ANALOG CONVERTER (12-bit port interface)

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

FEATURES APPLICATIONS TYPICAL APPLICATION. LTC1451 LTC1452/LTC Bit Rail-to-Rail Micropower DACs in SO-8 DESCRIPTION

CMOS 12-Bit Multiplying DIGITAL-TO-ANALOG CONVERTER Microprocessor Compatible

Analogue to Digital Conversion

CENG4480 Lecture 04: Analog/Digital Conversions

Low-Power, Low-Glitch, Octal 12-Bit Voltage- Output DACs with Serial Interface

12-Bit, Low-Power, Dual, Voltage-Output DAC with Serial Interface

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

Cyber-Physical Systems ADC / DAC

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

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

NI DAQPad -6020E Family Specifications

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

INL PLOT REFIN DAC AMPLIFIER DAC REGISTER INPUT CONTROL LOGIC, REGISTERS AND LATCHES

LC2 MOS Dual 12-Bit DACPORTs AD7237A/AD7247A

Microprocessor-Compatible ANALOG-TO-DIGITAL CONVERTER

10-Bit, Low-Power, Rail-to-Rail Voltage-Output Serial DAC in SOT23

ADC Bit µp Compatible A/D Converter

Dual 16-Bit DIGITAL-TO-ANALOG CONVERTER

Operational amplifiers

Basic Operational Amplifier Circuits

Design of Pipeline Analog to Digital Converter

Working with ADCs, OAs and the MSP430

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

OBSOLETE. 16-Bit/18-Bit, 16 F S PCM Audio DACs AD1851/AD1861

Lecture 9, ANIK. Data converters 1

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

Chapter 2 Signal Conditioning, Propagation, and Conversion

Analog to digital and digital to analog converters

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

5 V Integrated High Speed ADC/Quad DAC System AD7339

Sigma-Delta ADCs. Benefits and Features. General Description. Applications. Functional Diagram

LC2 MOS Octal 8-Bit DAC AD7228A

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

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

A 14-bit 2.5 GS/s DAC based on Multi-Clock Synchronization. Hegang Hou*, Zongmin Wang, Ying Kong, Xinmang Peng, Haitao Guan, Jinhao Wang, Yan Ren

EXPERIMENT 2.2 NON-LINEAR OP-AMP CIRCUITS

Microprocessor-Compatible 12-Bit D/A Converter AD767*

DESCRIPTION FEATURES APPLICATIONS. LTC1590 Dual Serial 12-Bit Multiplying DAC TYPICAL APPLICATION

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

a Preliminary Technical Data

Analytical Chemistry II

Linear Integrated Circuits

Low-Power, 12-Bit, Rail to Rail Voltage-Output Serial DAC in SOT23

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

SCLK 4 CS 1. Maxim Integrated Products 1

University of Pittsburgh

Multiplexer Options, Voltage Reference, and Track/Hold Function

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

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

Microprocessor-Compatible 12-BIT DIGITAL-TO-ANALOG CONVERTER

DESCRIPTIO. LTC1446/LTC1446L Dual 12-Bit Rail-to-Rail Micropower DACs in SO-8

Eliminate Pipeline Headaches with New 12-Bit 3Msps SAR ADC by Dave Thomas and William C. Rempfer

ADC-674 PRODUCT OVERVIEW FEATURES

TLC5620C, TLC5620I QUADRUPLE 8-BIT DIGITAL-TO-ANALOG CONVERTERS

Data Converters. Lecture Fall2013 Page 1

CMOS ADC & DAC Principles

High-Speed Analog to Digital Converters. ELCT 1003:High Speed ADCs

Transcription:

L10: Analog Building Blocks (OpAmps,, A/D, D/A) Acknowledgement: Materials in this lecture are courtesy of the following sources and are used with permission. Dave Wentzloff 1

Introduction to Operational Amplifiers DC Model Typically very high input resistance ~ 300KΩ v id in a v id out v out High DC gain (~10 5 ) Output resistance ~75Ω V = a( f ) out V in LM741 Pinout 10 to 15V eprinted with permission of National Semiconductor Corporation. a(f) 10 5 20dB/ decade 10 to 15V eprinted with permission of National Semiconductor Corporation. 10Hz f 2

The Inside of a 741 OpAmp eprinted with permission of National Semiconductor Corporation. Differential Input Stage Current Source for biasing Additional Gain Stage Output Stage Output devices provides large drive current Bipolar version has small input Bias current MOS OpAmps have ~ 0 input current Gain is Sensitive to Operating Condition (e.g., Device, Temperature, Power supply voltage, etc.) eprinted with permission of National Semiconductor Corporation. 3

Simple Model for an OpAmp i ~ 0 i ~ 0 v id V CC v out v out 100μV V CC = 10V ε = 100μV v id V easonable CC approximation Linear Mode V CC = 10V Negative Saturation Positive Saturation v id av id v out If V CC < v out < V CC v id V CC v out v id < ε v id V CC v out v id > ε Small input range for Open loop Configuration 4

The Power of (Negative) Feedback vin 1 2 vout v in 1 v id av id 2 v out v in v 1 id v out 2 v id = 0 v id = v a out v in 1 = v a out 1 1 a 2 1 2 v v out in a 2 = a >> 2 1 1 2 1 ( a) ( if 1) Overall (closed loop) gain does not depend on open loop gain Trade gain for robustness Easier analysis approach: virtual short circuit approach v = v = 0 if OpAmp is linear 5

Basic OpAmp Circuits Voltage Follower (buffer) v in v out Noninverting v out v in Differential Input v 1 out 2 v in 1 Integrator v out 2 1 ( v v ) in2 in1 v out 1 C t vin dt 6

Use With Open Loop Analog Comparator: Is V > V? The Output is a DIGITAL signal LM311 is a single supply comparator 7

Data Conversion: Quantization Noise A/D Conversion D/A Conversion Binary Output 11 10 01 00 V 0 ref 4 V ref 2 3V ref 4 Analog Input V ref Analog Output 3V ref 4 V ref 2 V ref 4 0 00 01 10 11 Binary code v in A/D digital code D/A Quantization noise LSB v noise Quantization noise exists even with ideal A/D and D/A converters V ref 4 V ref 2 3V ref 4 V ref vin 8

Nonidealities in Data Conversion Offset a constant voltage offset that appears at the output when the digital input is 0 Gain error deviation of slope from ideal value of 1 Analog Offset error Ideal Analog Gain error Ideal Binary code Integral Nonlinearity maximum deviation from the ideal analog output voltage Binary code Differential nonlinearity the largest increment in analog output for a 1bit change Analog Integral nonlinearity Ideal Analog Ideal Nonmonoticity Binary code Binary code 9

2 Ladder DAC Architecture 1 Note that the driving point impedance (resistance) is the same for each cell. 2 Ladder achieves large current division ratios with only two resistor values 10

DAC (AD 558) Specs 8bit DAC Single Supply Operation: 5V to 15V Integrates required references (bandgap voltage reference) Uses a 2 resistor ladder Settling time 1μs Programmable output range from 0V to 2.56V or 0V to 10V Simple Latch based interface Image courtesy of Analog Devices. Used with permission. 11

Chip Architecture and Interface D[7:0] LATCH CE CS Outputs are noisy when input bits settles, so it is best to have inputs stable before latching the input data Image courtesy of Analog Devices. Used with permission. 12

Setting the Voltage ange Very similar to a noninverting amp Strap output for different voltage ranges Image courtesy of Analog Devices. Used with permission. Convert data to Offset binary 13

Another Approach: BinaryWeighted DAC I b3 b b b 2 1 0 I 2 I 4 I 8 v out Switch binaryweighted currents MSB to LSB current ratio is 2 N ( ) 1 1 1 v out = I b 3 2 b2 4 b1 8 b 0 AD9768 Analog Devices AD9768 uses two banks of ratioed currents Additional current division performed by 750 Ω resistor between the two banks Image courtesy of Analog Devices. Used with permission. eference current source 14

Glitching and Thermometer D/A Glitching is caused when switching times in a D/A are not synchronized Example: Output changes from 011 to 100 MSB switch is delayed Filtering reduces glitch but increases the D/A settling time One solution is a thermometer code D/A requires 2 N 1 switches but no ratioed currents v out 011 100 I T 0 I Binary Thermometer 0 0 0 0 0 0 1 0 0 1 1 0 0 1 1 1 1 1 1 1 T1 T2 I v out t ( T ) v out = I T 0 1 T2 15

SuccessiveApproximation A/D D/A converters are typically compact and easier to design. Why not A/D convert using a D/A converter and a comparator? D to A generates analog voltage which is compared to the input voltage If D to A voltage > input voltage then set that bit; otherwise, reset that bit This type of A to D takes a fixed amount of time proportional to the bit length V in code D/A C Comparator out Example: 3bit A/D conversion, 2 LSB < V in < 3 LSB 16

SuccessiveApproximation A/D D/A Converter N Data Successive Approximation Generator Done v in Sample/ Hold Control Go Serial conversion takes a time equal to N(t D/A t comp ) 17

SuccessiveApproximation A/D (AD670) Unipolar (BPO =0) ~10μs conversion time Bipolar (BPO =1) Image courtesy of Analog Devices. Used with permission. 18

Single Write, Single ead Operation (see data sheet for other modes) /W CE, CS Status t DC t w Write ead t c t TD t DT Data Valid Data Valid t w (write/start pulse width) = 300ns (min) t DC (delay to start conversion) = 700ns (max) t c (conversion time) = 10μs (max) t TD (Bus Access Time) = 250 (max) t DT (Output Float Delay) = 150 (max) Control bits CE and CS can be wired to ground if A/D is the only chip driving the bus Suggestion: tie CE and CS pins together and hardwire BPO and Format 19

Simple A/D Interface FSM clk reset sample FSM cs_b r_w_b status CS CE /W STATUS AD670 dataavail Data[7:0] Q D Status should be synchronized: why? Courtesy of James Oey and Cemal Akcaba Figure by MIT OpenCourseWare. 20

Example A/D Verilog Interface module AD670 (clk, reset, sample, dataavail, r_wbar, cs_bar, status, state); // System Clk input clk; // Global eset signal, assume it is synchronized input reset; // User Interface input sample; output dataavail; // AD Interface input status; reg status_d1, status_d2; output r_wbar, cs_bar; output [3:0] state; // internal state reg [3:0] state; reg [3:0] nextstate; reg r_wbar_int, r_wbar; reg cs_bar_int, cs_bar; reg dataavail; 1/5 // State declarations. parameter IDLE = 0; parameter CONV0 = 1; parameter CONV1 = 2; parameter CONV2 = 3; parameter WAITSTATUSHIGH = 4; parameter WAITSTATUSLOW = 5; parameter EADDELAY0 = 6; parameter EADDELAY1 = 7; parameter EADCYCLE = 8; always @ (posedge clk or negedge reset) begin if (!reset) state <=IDLE; else state <=nextstate; status_d1 <= status; status_d2 <= status_d1; r_wbar <= r_wbar_int; cs_bar <=cs_bar_int; end 2/5 21

Example A/D Verilog Interface (cont.) always @ (state or status_d2 or sample) begin // defaults r_wbar_int = 1; cs_bar_int = 1; dataavail = 0; case (state) IDLE: begin if(sample) nextstate = CONV0; else nextstate = IDLE; end CONV0: begin r_wbar_int = 0; cs_bar_int = 0; nextstate = CONV1; end CONV1: begin r_wbar_int = 0; cs_bar_int = 0; nextstate = CONV2; end CONV2: begin r_wbar_int = 0; cs_bar_int = 0; nextstate = WAITSTATUSHIGH; end WAITSTATUSHIGH: begin cs_bar_int = 0; if (status_d2) nextstate = WAITSTATUSLOW; else nextstate = WAITSTATUSHIGH; end WAITSTATUSLOW: begin cs_bar_int = 0; if (!status_d2) nextstate = EADDELAY0; else nextstate = WAITSTATUSLOW; end 3/5 4/5 22

Example A/D Verilog Interface(cont.) EADDELAY0: begin cs_bar_int = 0; nextstate = EADDELAY1; end EADDELAY1: begin cs_bar_int = 0; nextstate = EADCYCLE; end EADCYCLE: begin cs_bar_int = 0; dataavail = 1; nextstate = IDLE; end default: nextstate = IDLE; endcase // case(state) end // always @ (state or status_d2 or sample) endmodule // adcinterface 5/5 23

Simulation On reset, present state goes to 0 r_w_b must stay low for at least 3 cycles (@ 100ns period) Enable read flipflop Status is synchronized two register delays Wait for ~10μs for status to go low Sample pulse initiates data conversion Notice a one cycle delay since A/D control signal delayed through a register 24

Flash A/D Converter Vref vin Bruteforce A/D conversion C C C Comparators Thermometer to binary b 0 b 1 Simultaneously compare the analog value with every possible reference value Fastest method of A/D conversion Size scales exponentially with precision (requires 2 N comparators) Can be implemented as OpAmp in open loop 25

AD 775 Flash Data Converter Image courtesy of Analog Devices. Used with permission. 26

Pipelining (used in video rate, F basestations, etc.) 1bit Amplifier 1bit Amplifier Sample/ A/D D/A Sample/ A/D D/A 2 2 Hold Converter Converter Hold Converter Converter Parallelism (use many slower A/D s in parallel to build very high speed A/D converters) 1 GHz Clock CMOS Buffer Chip DLL Clock Gen High Performance Converters: Use Pipelining and Parallelism! 80 T/Hs and V/Is 0.18 CMOS ADC Chip 80 ADC Slices 80 adix Converters 80 Slice Decimator 8 Mem Controllers 1MByte SAM 2 muxes [ISSCC 2003], Poulton et. al. 20Gsample/sec, 8bit ADC from Agilent Labs Figure by MIT OpenCourseWare. Adapted from Poulten, Ken, et al. "A 20 GS/s 8b ADC with a 1MB Memory in 0.18um CMOS." IEEE International SolidState Circuits Conference Paper 18.1, 2003. 27

New Trend: Eliminate OpAmps! (Use Comparators, more digital ) Op amps must achieve high openloop gain and fast settling time under feedback. High gain becomes increasingly difficult achieve due to low device gain. Solution: Comparator based analog Design Dramatic power savings possible Courtesy of Prof. Harry Lee, ISSCC 2006. Used with permission. 28

Summary of Analog Blocks Analog blocks are integral components of any system. Need data converters (analog to digital and digital to analog), analog processing (OpAmps circuits, switched capacitors filters, etc.), power converters (e.g., DCDC conversion), etc. We looked at example interfaces for A/D and D/A converters Make sure you register critical signals (enables, /W, etc.) Analog design incorporate digital principles Glitch free operation using coding Parallelism and Pipelining! More advanced concepts such as calibration 29