6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson

Similar documents
Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

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

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

PCM Encoding and Decoding:

Lecture 24: Oscillators. Clapp Oscillator. VFO Startup

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Introduction to Digital Audio

b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Digital to Analog and Analog to Digital Conversion

Filter Comparison. Match #1: Analog vs. Digital Filters

Continuous-Time Converter Architectures for Integrated Audio Processors: By Brian Trotter, Cirrus Logic, Inc. September 2008

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Basics of Digital Recording

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

Controller Design in Frequency Domain

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

Lecture 18: Common Emitter Amplifier. Maximum Efficiency of Class A Amplifiers. Transformer Coupled Loads.

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

Lab #9: AC Steady State Analysis

1995 Mixed-Signal Products SLAA013

FUNDAMENTALS OF MODERN SPECTRAL ANALYSIS. Matthew T. Hunter, Ph.D.

Timing Errors and Jitter

Analog Representations of Sound

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

Lecture - 4 Diode Rectifier Circuits

Conversion Between Analog and Digital Signals

Using the Impedance Method

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Section 3. Sensor to ADC Design Example

Frequency response: Resonance, Bandwidth, Q factor

ADC and DAC. Quantization

by Anurag Pulincherry A THESIS submitted to Oregon State University in partial fulfillment of the requirements for the degree of Master of Science

S. Boyd EE102. Lecture 1 Signals. notation and meaning. common signals. size of a signal. qualitative properties of signals.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

DAC Digital To Analog Converter

Digital To Analog Converter with Sine Wave Output

Analog Filters. A common instrumentation filter application is the attenuation of high frequencies to avoid frequency aliasing in the sampled data.

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

Laboratory 4: Feedback and Compensation

Lab 5 Getting started with analog-digital conversion

Positive Feedback and Oscillators

Dithering in Analog-to-digital Conversion

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE

Combining the ADS1202 with an FPGA Digital Filter for Current Measurement in Motor Control Applications

Chapter 12 Driven RLC Circuits

Laboratory #5: RF Filter Design

Step Response of RC Circuits

AND9035/D. BELASIGNA 250 and 300 for Low-Bandwidth Applications APPLICATION NOTE

Next Generation of High Speed. Modems8

Electrical Resonance

Lecture 24. Inductance and Switching Power Supplies (how your solar charger voltage converter works)

PLL frequency synthesizer

Using a Thermistor to Measure Temperature. Thermistors are resistors that vary their resistance according to temperature.

Android based Alcohol detection system using Bluetooth technology

Low Pass Filter Rise Time vs Bandwidth

Higher National Unit Specification. General information for centres. Transmission of Measurement Signals. Unit code: DX4T 35

Probability and Random Variables. Generation of random variables (r.v.)

Manufacturing Equipment Modeling

= V peak 2 = 0.707V peak

Analog and Digital Filters Anthony Garvert November 13, 2015

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

Lecture 22: Class C Power Amplifiers

Trigonometric functions and sound

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Lock - in Amplifier and Applications

Improving A D Converter Performance Using Dither

The Phase Modulator In NBFM Voice Communication Systems

VCO Phase noise. Characterizing Phase Noise

EE 402 RECITATION #13 REPORT

Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.

ECEN 1400, Introduction to Analog and Digital Electronics

OPERATIONAL AMPLIFIERS. o/p

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

A few words about imaginary numbers (and electronics) Mark Cohen

Lesson 16 Analog-to-Digital Converter (ADC)

25. AM radio receiver

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Kit Watt Audio Amplifier

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

What the Nyquist Criterion Means to Your Sampled Data System Design. by Walt Kester

Switch Mode Power Supply Topologies

Digital Guitar Effects Pedal

MAS.836 HOW TO BIAS AN OP-AMP

Understanding Delta Conversion Online "Power Regulation" - Part 2

MICROPHONE SPECIFICATIONS EXPLAINED

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

Decimal Number (base 10) Binary Number (base 2)

Transcription:

Let s go back briefly to lecture 1, and look at where ADC s and DAC s fit into our overall picture. I m going in a little extra detail now since this is our eighth lecture on electronics and we are more sophisticated now. ADC Analog-to-digital converter DAC Digital-to-analog converter Digital signal processing is amazing. For decades our processing power has doubled roughly every 18 months. If that fails to astound, imagine putting $1,000 into some sort of retirement account with that kind of yield, and within 30 years But in order to get to all that DSP goodness, we must first translate our analog signals to digital signals. If we want to act on our digital results, we often must translate digital commands back to analog signals. So in medical electronics, it is almost impossible to get around these blocks. Lets take a look at them.

Analog-to-Digital Conversion An ADC is typically an integrated circuit ( IC on microchip) that looks functionally like : The ADC relies on a periodic square-wave signal called the clock. Once every clock cycle the ADC looks at the voltage at V IN at that instant, and translates it to a binary number that is linearly related to the input voltage. Recall how binary numbers work; each digit is a one or a zero: Decimal equivalent: 2 7 id 7 + 2 6 id 6 + 2 5 id 5 +...2 0 id 0 So in this case the output of the ADC binary code that represents a decimal magnitude. Page 2

What does this digital code mean, or represent? You ll in general have to look at a data sheet, but often the ADC will require one or more reference voltage inputs (See attached example). A way to visualize this is with a plot of output code vs. input voltage: From a plot like this, we can see that for 2 N codes, where N is the number of bits, there are 2 N 1 intervals on the voltage axis. This means that each LSB represents a change in input voltage of This is the important detail. But from a qualitative viewpoint, the thing to really notice about ADC s is that they discretize our signal in two ways: in both voltage and in time. Lets take a good look at both types of discretization. We ll start with time. Page 3

Sampling Before doing the actual analog-to-digital conversion, the first thing an ADC will do is sample a signal. That is, it will grab the signal at a particular instant in time and keep it still so that it can embark on the conversion process. How do you grab an analog signal, you ask? This is called a sample and hold or perhaps, more accurately, a track and hold. Remember that this is a perfect amplifier, so its input draws no current. This means that when the switch is open, the capacitor just holds at the value of v(t) right before the switch opens. We can illustrate the sampling process graphically: The ADC then provides digitized versions of the samples of v(a). These samples are: v n Class Exercise: Page 4 [ ] = v( nτ).

We can get into trouble by looking only at the samples of a signal. Suppose that we take the samples of a sinusoid of frequency f 0 : x[ n] = sin(2π f 0 inτ s ) And compare them to those of a sinusoid of frequency f 0 Δf : Find Δf for which x[ n]and x 2 [ n] are identical. (Workspace) x 2 ( ) [ n] = sin 2π ( f 0 + Δf )i nτ s The phenomenon that we have stumbled upon here is called aliasing and it is a hazard of sampled data systems. You can work that out as long as your input signal is restricted to a frequency band f s 2 < f IN < f s, you have no difficulty. That is if the input signal is composed of complex 2 exponentials e jωt for which where f s = 1 Τ s,ω s = 2π f s, then you are okay. ω s 2 < ω < ω s 2 Page 5

Incidentally, you have seen this before. TV cameras used to only sample 24 frames per second, which is slower then rotational frequency of some of the wheels that were being shot. So you would get this weird effect of the wheels seeming to turn backwards. Anyway, in electronics design we will sometimes head this off by including an initializing filter before the ADC: So that s what we mean by discretization in time. What about amplitude? In general when you take a sample, you will have an error that can be anywhere between Δ 2 and Δ, where Δ is the LSB (From page 3). For purposes of analysis, we treat this as a quantization noise 2 with PDF: Page 6

It has been shown that this quantization noise distributes pretty uniformly in frequency, so we treat it the way we treat thermal noise. The signal-to-quantization noise ratio relates to the number of bits according to SQNR = ( 6.02B +1.76)dB (6B)dB So if you digitize a pure, full scale sinusoid and take an IFT, what you will see is Page 7