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

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

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

EEE312: Electrical measurement & instrumentation

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

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

Analog to Digital Converters

Microprocessors & Interfacing

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

Analog/Digital and Sampling

A-D and D-A Converters

PHYS225 Lecture 22. Electronic Circuits

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

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

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

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

P a g e 1. Introduction

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

Electronics A/D and D/A converters

Data Converters. Lecture Fall2013 Page 1

ANALOG-TO-DIGITAL CONVERTERS

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

Outline. Analog/Digital Conversion

Cyber-Physical Systems ADC / DAC

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

System on a Chip. Prof. Dr. Michael Kraft

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

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

EE251: Tuesday October 10

Chapter 5: Signal conversion

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

Lab Exercise 6: Digital/Analog conversion

Care and Feeding of the One Bit Digital to Analog Converter


INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

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

Chapter 2 Signal Conditioning, Propagation, and Conversion

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

Design Implementation Description for the Digital Frequency Oscillator

Digital to Analog Conversion. Data Acquisition

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

EE482: Digital Signal Processing Applications

Linear Integrated Circuits

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

Analog to Digital Conversion

University of California at Berkeley Physics 111 Laboratory Basic Semiconductor Circuits (BSC) Lab 12

BINARY AMPLITUDE SHIFT KEYING

Analog to digital and digital to analog converters

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

SPT BIT, 30 MSPS, TTL, A/D CONVERTER

ADS9850 Signal Generator Module

Features. Key Specifications. n Total unadjusted error. n No missing codes over temperature. Applications

ADC Bit µp Compatible A/D Converter

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

Analog to Digital Conversion

Dr. Cahit Karakuş ANALOG SİNYALLER

University of Pittsburgh

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

ADC Bit High Speed mp Compatible A D Converter with Track Hold Function

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

DIGITAL TO ANALOG CONVERTER (DAC)

TLV1572ID 2.7 V TO 5.5 V, 10-BIT, 1.25 MSPS SERIAL ANALOG-TO-DIGITAL CONVERTER WITH AUTO-POWERDOWN. Applications. description

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

LECTURE 2 FROM ANALOG TO DIGITAL

Time Matters How Power Meters Measure Fast Signals

PC-based controller for Mechatronics System

ENGR 210 Lab 12: Analog to Digital Conversion

Spectrum analyzer for frequency bands of 8-12, and MHz

Assignment 8 Analyzing Operational Amplifiers in MATLAB and PSpice

2.7 V to 5.5 V, 400 ksps 8-/10-Bit Sampling ADC AD7813

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

The Fundamentals of Mixed Signal Testing

CHAPTER ELEVEN - Interfacing With the Analog World

ECE 6770 FINAL PROJECT

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

Care and Feeding of the One Bit Digital to Analog Converter

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

1. R-2R ladder Digital-Analog Converters (DAC). Connect the DAC boards (2 channels) and Nexys 4 board according to Fig. 1.

Data Conversion and Lab Lab 4 Fall Digital to Analog Conversions

Combinational logic: Breadboard adders

Analog-to-Digital Conversion

Physics 335 Lab 1 Intro to Digital Logic

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Microprocessor-compatible 8-Bit ADC. Memory FEATURES: Logic Diagram DESCRIPTION:

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

SPT BIT, 150 MSPS, FLASH A/D CONVERTER TECHNICAL DATA

The need for Data Converters

Deep-Submicron CMOS Design Methodology for High-Performance Low- Power Analog-to-Digital Converters

Using PWM Output as a Digital-to-Analog Converter on a TMS320C240 DSP APPLICATION REPORT: SPRA490

TLV5620C, TLV5620I QUADRUPLE 8-BIT DIGITAL-TO-ANALOG CONVERTERS

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

DSP VLSI Design. DSP Systems. Byungin Moon. Yonsei University

Lab.3. Tutorial : (draft) Introduction to CODECs

CMOS High Speed A/D Converter Architectures

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

Analog-Digital Interface

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

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

AD9772A - Functional Block Diagram

A Low-Power 6-b Integrating-Pipeline Hybrid Analog-to-Digital Converter

Transcription:

DSP Project eminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239). Budget: $150 for project. Free parts: Surplus parts from previous year s project are available on a firstcome-first-serve basis in the lab room.

Analog Digital As physicists, we know that: We live in an analog world of continuously varying signals. Almost all physical quantities (observables) are continuous in nature. As electronics designers, we know that: Digital electronics is very powerful, cheap, and relatively easy to design (at least compared to analog circuits). Digital electronics only works with digital signals. THEEFOE If we re ever going to make anything useful, we need to find a way to convert (or approximate) an ANALOG signal to (by) a sequence of digital-binary numbers, and vice versa.

Analog Digital volts 3-bit digital approximation time Algorithm: At each clock cycle, round your analog voltage to the nearest digital value. The size of a digital step is defined by V ref /2 n for an n-bit converter.

Shannon-Nyquist Sampling Theorem THEOEM: A continuous-time finite bandwidth signal can be exactly reconstructed from its samples if the sampling frequency is greater than 2 times the signal bandwidth B, where B is largest (non-zero) frequency component of the signal. F=2B is referred to as the Nyquist frequency (the lowest possible sampling frequency). Practical Considerations: Any finite duration signal has B, so exact mathematical application of the theorem is impossible. The theorem indicates the frequency scale that one should use in order to usefully sample a signal always use a sampling rate which is greater than twice the highest frequency component of reasonable amplitude.

Flash ADCs Flash ADCs V EF V in 3-bit encoder bit-0 bit-1 bit-2 V EF V in 3-bit encoder bit-0 bit-1 bit-2 The fastest (and most expensive) n-bit ADCs use 2 n -1 comparators to determine which of the 2 n numbers the analog input is closest to. 8-bit ADC: 255 comparators. 12-bit ADC: 4096 comparators In general, higher bit resolution results in a slower ADC (and more expensive). Most digital oscilloscopes use an 8-bit ADC.

ADC0820 & TLC5510A: Half-Flash ADC (I) In order to keep the number of comparators small, it holds the input voltage, and converts it in steps: Converts the upper four bits with a 4-bit ADC. Converts the digitized value back into an analog value with a Digital-to-Analog Converter (DAC). Subtracts this from the input to generate the smaller, difference voltage. Finally, it uses a 2 nd 4-bit ADC to convert the lower 4-bits. The entire process takes less than 800 ns when operating off the internal timing of the ADC0820 (D mode) and about 150 ns for a TLC5510A (20 MHz clock).

ADC0820: Half-Flash ADC (II) [figure from the National Semiconductor ADC0820 datasheet]

ADC0820: Half-Flash ADC (III) Functional Table Pin 1 2-5 6 7 8 9 11 12 13 14-17 18 Name VIN DB0-DB3 W / DY MODE D INT V EF( ) V EF() CS DB4-7 OFL Function Analog input; range GND VIN VCC TI-STATE data outputs; bit 0 (LSB) to bit 3 W-D Mode - W: With CS low, the conversion is started on the falling edge of W. D Mode - DY: DY will go low after the falling edge of CS; DY will go TI-STATE when the result of the conversion is strobed into the output latch. Select mode: LOW = D Mode HIGH = W-D Mode W-D Mode With CS low, the TI-STATE data outputs (DB0-DB7) will be activated when D goes low. D Mode With CS low, the conversion will start with D going LOW; also D will enable the TI-STATE data outputs at the completion of the conversion. DY going TI-STATE and INT going low indicates the completion of the conversion. INT going LOW indicates that the conversion is completed and the data result is in the output latch. INT is reset by rising edge on D or CS. Bottom of resistor ladder; range: GND V EF( ) V EF() Top of resistor ladder; range: V EF( ) V EF() V CC CS must be low for the D or W to be recognized. TI-STATE data output bits 4-7 Overflow If the analog input is higher than the V EF(), OFL will be LOW at the end of conversion. Can be used to cascade.

ADC0820: Half-Flash ADC (IV) In D mode, the D# line going LOW initiates the conversion. When the conversion is complete, the INT# line goes LOW & the data is latched into output buffers. The output buffers will be put in a Z state when W# goes LOW until the INT# line goes LOW. [figure from the National Semiconductor ADC0820 datasheet]

ADC0820: Half-Flash ADC (IV) In D mode, the D# line going LOW initiates the conversion. When the conversion is complete, the INT# line goes LOW & the data is latched into output buffers. The output buffers will be put in a Z state when W# goes LOW until the INT# line goes LOW. Keep CS low permanently not important These lines are IMPOTANT [figure from the National Semiconductor ADC0820 datasheet]

TLC5510A: Basic Operation

Mixed Signal Design [Texas Instruments TLC5510 datasheet (2003)]

Digital Analog A Digital-to-Analog Converter (DAC) is used to convert a digital signal into an analog voltage. A DAC is useful for: Generating a voltage from a computer, microprocessor, or FPGA that will then control part of an experiment. Producing a digitally synthesized waveform (triangle, sine, or more complex). Converting digital music to sound, etc (the CD standard is 16-bits at 44.1 KHz) DACs are generally much faster than ADCs for a same bit resolution.

-2 resistor ladder (I) It s easy to make the DAC output voltages. Look from the right-hand side 2 parallel resistors Each with a value of 2

-2 resistor ladder (I) It s easy to make the DAC output voltages. Look from the right-hand side 2 parallel resistors Each with a value of 2

-2 resistor ladder (II) Continuing farther to the left, we find that the effective resistance to ground is at every dot on the top line

-2 resistor ladder (III) The ladder acts like a series of voltage dividers that reduces the voltage by an additional factor of 2 at each -2 junction. V decreases by half at each connection point along the top rail. Thus each output voltage is related to the input voltage by a power of two. V V/2 V/4 V/8

Simple DAC We can generate an analog voltage by adding together the voltages represented by the various stages in the ladder. If we sum the ladder outputs based on a simple a binary representation in switches then we have a DAC. [figure from the Art of Electronics (2 nd edition, 1999) by P. Horowitz and W. Hill, p. 616]

Simple DAC We can generate an analog voltage by adding together the voltages represented by the various stages in the ladder. If we sum the ladder outputs based on a simple a binary representation in switches then we have a DAC. V V/2 V/4 V/8 Voltage summing amplifier [figure from the Art of Electronics (2 nd edition, 1999) by P. Horowitz and W. Hill, p. 616]

Simple DAC We can generate an analog voltage by adding together the voltages represented by the various stages in the ladder. If we sum the ladder outputs based on a simple a binary representation in switches then we have a DAC. V V/2 V/4 V/8 I I/2 I/4 I/8 Current-to-Voltage summing amplifier [figure from the Art of Electronics (2 nd edition, 1999) by P. Horowitz and W. Hill, p. 616]

A real DAC: the TLC7524 8-bit DAC (TLC7524) [figure from Texas Instruments TLC7524 datasheet]

TLC7524 timing The data on the digital inputs is sent to the analog output when W goes LOW. When W is HIGH, the digital inputs and analog output remain latched to their present values. Keep CS low permanently [figure from Texas Instruments TLC7524 datasheet]

Lab 6: ADCs and DACs Analog to Digital and back to Analog ADC 8 Bits DAC Out