Digital Signal Processing Techniques ECE2799 Lecture Prof. W. Michalson.

Slides:



Advertisements
Similar presentations
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
Advertisements

Embedded DSP Spectrum Analyzer May 0104 April 25, 2001 Teradyne Corp Julie Dickerson Bill Black Prihamdhani AmranEE Ryan ButlerCprE Aaron DelaneyEE Nicky.
©Alex Doboli 2006  Analog to Digital Converters Alex Doboli, Ph.D. Department of Electrical and Computer Engineering State University of New York at.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.
So far We have introduced the Z transform
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Analogue to Digital Conversion
Mixed-Signal System Design and Modeling ©2001 Eric Swanson Lecture 6 Fall Semester 2002.
Quantization Prof. Siripong Potisuk.
Introduction to D/A and A/D conversion Professor: Dr. Miguel Alonso Jr.
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EET260: A/D and D/A converters
Digital Signal Processing (DSP) Fundamentals. Overview What is DSP? Converting Analog into Digital –Electronically –Computationally How Does It Work?
Why prefer CMOS over CCD? CMOS detector is radiation resistant Fast switching cycle Low power dissipation Light weight with high device density Issues:
Design Goal Design an Analog-to-Digital Conversion chip to meet demands of high quality voice applications such as: Digital Telephony, Digital Hearing.
1 Digitisation Conversion of a continuous electrical signal to a digitally sampled signal Analog-to-Digital Converter (ADC) Sampling rate/frequency, e.g.
Science is organized knowledge. Wisdom is organized life.
Digital Signal Processing – Chapter 7
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Engr. Hinesh Kumar Lecturer, I.B.T, LUMHS. Signal Signal Classification Signal Processing Concept of Systems DSP Elements of DSP Advantages of DSP Limitations.
INTRODUCTION TO DIGITAL SIGNAL PROCESSING Dr. Hugh Blanton ENTC 4347.
Digital Communication Techniques
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Over-Sampling and Multi-Rate DSP Systems
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
EE 350 / ECE 490 Analog Communication Systems 2/23/2010R. Munden - Fairfield University 1.
Chapter 4: Sampling of Continuous-Time Signals
Formatting and Baseband Modulation
מכללת BITLEE קורס DSP יישומי לתעשיה. DSP- Digital Signal Processing.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
Signal ProcessingES & BM MUET1 Lecture 2. Signal ProcessingES & BM MUET2 This lecture Concept of Signal Processing Introduction to Signals Classification.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Fundamentals of Digital Communication
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
DSP Techniques for Software Radio DSP Front End Processing Dr. Jamil Ahmad.
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
Seismometry Seismology and the Earth’s Deep Interior Seismometer – The basic Principles u x x0x0 ugug umum xmxm x x0x0 xrxr uground displacement x r displacement.
Filters and Delta Sigma Converters
Digital Recording Theory Using Peak. Listening James Tenney, Collage #1 (“Blue Suede”),  Available in Bracken Library, on James Tenney Selected.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
Professor: Dr. Miguel Alonso Jr.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
The Design Process Getting Output From Your System by Prof. Michalson.
Lecture 2: Filters.
CSCI1600: Embedded and Real Time Software Lecture 14: Input/Output II Steven Reiss, Fall 2015.
Filters filters. Filters A filter removes a signal’s unwanted frequency components. Figure 6.18.
UCLA IEEE NATCAR 2004 SUMMER CLASS Magnetic Sensors & Power Regulation.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part III) DIGITAL TRANSMISSION Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional.
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Variable-Frequency Response Analysis Network performance as function of frequency. Transfer function Sinusoidal Frequency Analysis Bode plots to display.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Digital Signal Processor HANYANG UNIVERSITY 학기 Digital Signal Processor 조 성 호 교수님 담당조교 : 임대현
B.Sc. Thesis by Çağrı Gürleyük
Chapter 3 Sampling.
Group 13: Jamie Brunskill Tyler Shaw Kyle Stevens
Quantization and Encoding
Sampling rate conversion by a rational factor
Digital Acquisition of Analog Signals – A Practical Guide
Soutenance de thèse vendredi 24 novembre 2006, Lorient
لجنة الهندسة الكهربائية
MECH 373 Instrumentation and Measurements
Lesson 8: Analog Signal Conversion
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
Presentation transcript:

Digital Signal Processing Techniques ECE2799 Lecture Prof. W. Michalson

What is Digital Signal Processing? Generically, Digital Signal Processing refers to manipulating analog signals using digital operations. There are special purpose Digital Signal Processors, or DSP chips that are essentially microprocessors that are customized for implementing DSP algorithms. DSP chips, however, are not necessary for performing signal processing in the digital domain.

Types of DSP Many things can be called digital signal processing. Often, DSP programs are applications of discrete-time signal processing to do: –Filtering (high-pass, low-pass, band-pass, etc) –Modulation / Demodulation –DFT / Correlation Generically, any operation on a digital signal is DSP.

Generic System Model

Focus on Analog Input

Focus on Analog Output

A Simple Example System Let’s suppose we want to design a digital coffee temperature monitor. We need some specifications: –Provide indication of “optimal” drinking temperature. Red LED – Too hot (T > 70 ºC) Green LED – Perfection! ( 50 ≤ T ≤ 70 ºC) Blue LED – Brrrrrrr. Too cold. (T < 50 ºC)

Our System

We Need REAL Specifications! From a quick search on Digikey I found an NTC thermistor encased in a glass bead. –R25 = 10K  –Dissipation factor 0.4 mW/ºC From the thermistor specifications, I found: TRth

Avoiding Self Heating In my research, I learned that to minimize self heating, I need to make sure that the current through the thermistor is less than the dissipation factor. Limiting current to 0.2mW means I’ll limit error due to self heating to about 0.5 ºC. If Vcc = 5V, this means that the total resistance must be > 125 K .

So, What Will We Measure? Given these specifications, based on the nominal values in the thermistor data sheet, we would expect to see the following: TRthVth

Analog Pre-Processing The voltages we expect to see at the thermistor are pretty small. Do we need any analog processing? Maybe, maybe not… –We need to look at the specifications of our ADC. –If the specifications are adequate, we may not have to go any further.

Arduino Uno Many people are using the Arduino Uno as the processor in their design. –The processor is an ATMega328. –10-bit ADC –No circuitry between ADC pins and header connectors –Review of the Atmel datasheet shows: 100 MW analog input resistance. A REF is A VCC, 1.1V, or V REF.

Arduino Uno Schematic

No Analog Processing??? So, what happens if I just drive the Arduino with V TH ? The equation for determining the 10-bit ADC value is ADC = (V in x 1024)/V REF. Thus, we have: TRthVthAvcc1.1 Vref

This Just Might Work!!! If we set up the ATMega328 ADC to use the internal 1.1V reference, we have a pretty reasonable range to operate in with no additional analog components. It would make sense to “low pass” filter the data by averaging over several samples. We’re ignoring “anti aliasing” at our peril!

Our Software So, in terms of software: –We need to set up the ADC to use the 1.1 Volt reference (a single 8-bit read is sufficient). –We should average over 5-10 samples to reduce noise (no need for fast sampling). –Decision routine: If ADC < 79, Turn on Red LED, If 79 ≤ ADC ≤ 146, turn on Green LED, If ADC > 146, Turn on Blue LED,

Characteristics of A/D Converters An A/D converter translates an analog input voltage into a digital representation. Here we see a ±5V signal being mapped to a 16-bit 2’s complement integer: Source:

Word Size and Dynamic Range The number of bits in an A/D converter determines the “dynamic range” of the converter. This “dynamic range” is the ratio of the smallest and largest values that can be represented. DR dB = 20 log (V max /V min ) Different applications require different dynamic ranges. Source:

Consider an 8-bit Converter Assume 0-3.3V maps to 00-FF –256 steps means Volts/step –DR dB = 20 log(3.3/0.0129) = 48 dB So, comparing this to the previous slide, we see: –8-bits is about “AM Radio” quality –12-bits is about “FM Radio” quality –16-bits is about “CD” quality But wait, there’s more!

Other Issues Selecting a Converter It’s generally good to leave some “headroom” when designing so the system won’t distort. In our example, let’s assume a 0 to 3.3V converter. Let’s also assume some more specifications: –12dB headroom Source:

What About Anti-Aliasing? We know that in general we need a band-limited signal as an input to the converter. It doesn’t matter how the signal is band-limited, it just matters that it is band-limited. We have a few choices: –Ignore Nyquist and hope it’s not an issue. –Look at the characteristics of the thermistor and see how susceptible to noise it is. The thermistor may be able to band-limit the signal. –Sample at higher rate and build a separate low-pass filter (and probably gain) prior to the converter.

Sample Rate Below Nyquist

Sampling Above Nyquist Rate

Signal is Misinterpreted!

Signal Above Nyquist II Every frequency above Nyquist will get aliased into a frequency below Nyquist and thus will be indistinguishable!