Digital Signal Processing +

Similar documents
Hardware Components: Sensors, Actuators, Converters +

Analog-Digital Interface

Data Acquisition Systems. Signal DAQ System The Answer?

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

An Overview of Linear Systems

SAMPLING THEORY. Representing continuous signals with discrete numbers

Ch 5 Hardware Components for Automation

Design IV. E232 Spring 07

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

APPLICATIONS OF DSP OBJECTIVES

EE228 Applications of Course Concepts. DePiero

Signal Processing. Introduction

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Biomedical Instrumentation B2. Dealing with noise

3D Distortion Measurement (DIS)

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Chapter 1: Introduction to audio signal processing

FFT Analyzer. Gianfranco Miele, Ph.D

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS

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

! Where are we on course map? ! What we did in lab last week. " How it relates to this week. ! Sampling/Quantization Review

Microcomputer Systems 1. Introduction to DSP S

EE 422G - Signals and Systems Laboratory

EE 351M Digital Signal Processing

145M Final Exam Solutions page 1 May 11, 2010 S. Derenzo R/2. Vref. Address encoder logic. Exclusive OR. Digital output (8 bits) V 1 2 R/2

EE 311 February 13 and 15, 2019 Lecture 10

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Signal Processing. Naureen Ghani. December 9, 2017

3D Intermodulation Distortion Measurement AN 8

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

MULTIMEDIA SYSTEMS

Figures from Embedded System Design: A Unified Hardware/Software Introduction, Frank Vahid and Tony Givargis, New York, John Wiley, 2002

ITM 1010 Computer and Communication Technologies

Multirate DSP, part 3: ADC oversampling

The Fast Fourier Transform

Signal Characteristics

Measurement of RMS values of non-coherently sampled signals. Martin Novotny 1, Milos Sedlacek 2

Audio /Video Signal Processing. Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

2: Audio Basics. Audio Basics. Mark Handley

The Case for Oversampling

Laboratory Assignment 4. Fourier Sound Synthesis

Sampling and Reconstruction of Analog Signals

Spectrum Analysis: The FFT Display

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

E40M Sound and Music. M. Horowitz, J. Plummer, R. Howe 1

Notes on Fourier transforms

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t)

Digital Receiver Experiment or Reality. Harry Schultz AOC Aardvark Roost Conference Pretoria 13 November 2008

In this lecture. System Model Power Penalty Analog transmission Digital transmission

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

Continuous time and Discrete time Signals and Systems

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

Chapter 3 Data Transmission COSC 3213 Summer 2003

Chapter 4. Digital Audio Representation CS 3570

ENGINEERING FOR RURAL DEVELOPMENT Jelgava, EDUCATION METHODS OF ANALOGUE TO DIGITAL CONVERTERS TESTING AT FE CULS

E40M Sound and Music. M. Horowitz, J. Plummer, R. Howe 1

ENGR 210 Lab 12: Sampling and Aliasing

Chapter 6: DSP And Its Impact On Technology. Book: Processor Design Systems On Chip. By Jari Nurmi

Introduction to Digital Signal Processing (Discrete-time Signal Processing)

Sampling and Signal Processing

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Final Exam Solutions June 14, 2006

Modulation. Digital Data Transmission. COMP476 Networked Computer Systems. Analog and Digital Signals. Analog and Digital Examples.

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Analyzing A/D and D/A converters

Lecture Schedule: Week Date Lecture Title

Data acquisition and instrumentation. Data acquisition

Developer Techniques Sessions

8.3 Basic Parameters for Audio

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

Causes for Amplitude Compression AN 12

THIS work focus on a sector of the hardware to be used

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

DIGITAL SIGNAL PROCESSING. Chapter 1 Introduction to Discrete-Time Signals & Sampling

Introduction to signals and systems

Easy SDR Experimentation with GNU Radio

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

System analysis and signal processing

CS3291: Digital Signal Processing

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

Chapter-2 SAMPLING PROCESS

Other Modulation Techniques - CAP, QAM, DMT

Lab 0: Introduction to TIMS AND MATLAB

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Analog to Digital Conversion

Sampling and Reconstruction

Speech Coding in the Frequency Domain

Digital Signal Processing Lecture 1 - Introduction

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Figure 1: Block diagram of Digital signal processing

DIGITAL SIGNAL PROCESSING WITH VHDL

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

DA based Efficient Parallel Digital FIR Filter Implementation for DDC and ERT Applications

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Analogue Signals. M J Brockway. February 5, 2018

Chapter 1. Electronics and Semiconductors

Summary Last Lecture

Transcription:

Digital Signal Processing + Nikil Dutt UC Irvine ICS 212 Winter 2005 + Material adapted from Tony Givargis & Rajesh Gupta Templates from Prabhat Mishra ICS212 WQ05 (Dutt) DSP 1

Introduction Any interesting embedded system has to process some input signals and generate some output signals We use the term signal in a general way Digital devices process signals in digital form A uniformly sampled stream of data spread in time (e.g., audio) or space (e.g., image) ICS212 WQ05 (Dutt) DSP 2

Signals and Systems Signal: set of information and data E.g., audio, video, radio, Continuous vs. discrete-time Analog and digital System: entity that transforms input signals to output signals Linear and non-linear Constant parameter and time-varying parameter Causal and non-causal Digital Signal Processing (DSP) Digitize signals and process them in the digital domain In software (e.g., DSPs, ASIPs, GPPs) or hardware (ASIC, FPGA) ICS212 WQ05 (Dutt) DSP 3

Analog vs. Digital ICS212 WQ05 (Dutt) DSP 4

General DSP Architecture Environment Embedded System Sensors f(t) A/D f n µp Memory Actuators u(t) D/A u n ICS212 WQ05 (Dutt) DSP 5

Sensors and Actuators Sensors: Capture physical stimulus (e.g., heat, light, sound, pressure, magnetism, or other mechanical motion) Typical generate a proportional electrical current May require analog interface solenoid mic speaker Actuators Convert a command to a physical stimulus (e.g., heat, light, sound, pressure, magnetism, or other mechanical motion) May require analog interface laser diode/transistor compass dc motor accelerometer ICS212 WQ05 (Dutt) DSP 6

Sampling Sampling: how often is the signal converted (sampled) to represent original signal? Twice as high as the highest frequency signal present in the input As much as 10 to 20 times for even better results Typical Sampling Rates ICS212 WQ05 (Dutt) DSP 7

How Fast should ADC be? ICS212 WQ05 (Dutt) DSP 8

Quantization Sample precision - the resolution of a sample value Quantization depends on the number of bits used to measure the height of the waveform. 16 bit CD quality quantization results in 64K values. Audio formats are described by sample rate and quantization. Voice quality - 8 bit quantization, 8000 Hz mono(8 Kbytes/sec) 22kHz 8-bit mono (22kBytes/s) and stereo (44Kbytes/sec) CD quality - 16 bit quantization, 44100 Hz linear stereo (196 Kbytes/s) ICS212 WQ05 (Dutt) DSP 9

Quantization and Sampling Sample Height 0.75 0.5 0.25 samples ICS212 WQ05 (Dutt) DSP 10

Aliasing Aliasing: erroneous signals, not present in analog domain, but present in digital domain Use anti-aliasing filters Sample at higher than necessary rate 1.5 Signal freq: 5.6 Hz Sampling freq: 9 Hz 1 0.5 0-0.5-1 -1.5 ICS212 WQ05 (Dutt) DSP 11

Signal Processing Sample Height Digital signal S 0, S 1, S 2 S n-1 samples What can we do with it? Transpose: e.g., Z i = S i + K Amplify: e.g., Z i = S i α Compose: e.g., Z i = (S 1 i α 1 + K 1 ) + (S 2 i α 2 + K 2 ) Filter: e.g, Z i = (S i + S i+1 ) / 2 Compress: e.g., using Huffman codes Archive, match against database, etc. Or, process after converting to frequency domain Spectral analysis ICS212 WQ05 (Dutt) DSP 12

Time Domain Any continuous periodic time varying signal can be represented as the sum of cosine functions of different amplitude and frequency E.g., input signal captured as the sum of 4 cosine functions Captured as a Trigonometric Fourier Series (continuous) ICS212 WQ05 (Dutt) DSP 13

Time and Frequency Domain Signal can be represented in frequency domain Discrete values, representing amplitude at each frequency for the periodic signal How about aperiodic signals? Linear function of infinite number of sinusoidal functions ICS212 WQ05 (Dutt) DSP 14

(Continuous) Fourier Transform (FT) Represent periodic functions Input: h(t) continuous time domain signal Output: H(f) continuous frequency domain signal H(f) is represented by complex number a+b j Amplitude: (a 2 +b 2 ) Phase-shift: arctan(b/a) H ( f ) = h( t) = e jω h( t) e H ( f ) e j 2πft j2πft dt df = cos( ω) + j sin( ω) ICS212 WQ05 (Dutt) DSP 15

Discrete Fourier Transform (DFT) Input: h t discrete time domain signal Output: H f discrete frequency domain signal H f is represented by complex number a+b j Amplitude: (a 2 +b 2 ) Phase-shift: arctan(b/a) DFT is computationally expensive There is a fast software implementation (FFT) H h e t f = jω 1 = N N 1 f = 0 N 1 t= 0 H e he 2πtf j N = cos( ω) + f t 2πft j N jsin( ω) DFT IDFT Euler s Eq. ICS212 WQ05 (Dutt) DSP 16

Discrete Cosine Transform A special version of the DFT Used in JPEG and MPEG compression Single dimension version DC component Average signal value Cosine of differing frequency components Multiply input signal with different cosine functions 2-dimensional version Similar in nature ICS212 WQ05 (Dutt) DSP 17

General DSP Architecture Environment Embedded System Sensors f(t) A/D f n µp Memory Actuators u(t) D/A u n ICS212 WQ05 (Dutt) DSP 18

Summary Introduction to DSP Analog and digital domain conversions Sampling rate Quantization Aliasing Digital Signal Processing Transformations Time and frequency domain conversions FFT and DCT Good introductory reference for DSP: Richard Lyons: Understanding DSP Addison Wesley 1997 ICS212 WQ05 (Dutt) DSP 19