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

Similar documents
EE 403: Digital Signal Processing

Discrete-Time Signal Processing (DSP)

EE 351M Digital Signal Processing

Digital Signal Processing Lecture 1

Basic Signals and Systems

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Signals and Systems EE235. Leo Lam

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

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

Chapter 1. Electronics and Semiconductors

Lecture 7 Frequency Modulation

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

Spectrum Analysis: The FFT Display

DSP First, 2/e. LECTURE #1 Sinusoids. Aug , JH McClellan & RW Schafer

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

Digital Signal Processing Lecture 1 - Introduction

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1

Laboratory Assignment 4. Fourier Sound Synthesis

Sound is the human ear s perceived effect of pressure changes in the ambient air. Sound can be modeled as a function of time.

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

CSC475 Music Information Retrieval

Recall. Sampling. Why discrete time? Why discrete time? Many signals are continuous-time signals Light Object wave CCD

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

Lecture 3 Complex Exponential Signals

DSP First, 2/e. This Lecture: LECTURE #1 Sinusoids. Appendix B: MATLAB

Lab 3 FFT based Spectrum Analyzer

Digital Signal Processing:

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

Introduction to signals and systems

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

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

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

Introduction. Chapter Time-Varying Signals

Music 171: Amplitude Modulation

5.1 Graphing Sine and Cosine Functions.notebook. Chapter 5: Trigonometric Functions and Graphs

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

8.3 Basic Parameters for Audio

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

SAMPLING THEORY. Representing continuous signals with discrete numbers

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Michael F. Toner, et. al.. "Distortion Measurement." Copyright 2000 CRC Press LLC. <

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

Sound Waves and Beats

Introduction of Audio and Music

Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing

Frequency-Domain Sharing and Fourier Series

Creating Digital Music

Dr. Cahit Karakuş ANALOG SİNYALLER

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

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

Modulation. Digital Data Transmission. COMP476 Networked Computer Systems. Sine Waves vs. Square Waves. Fourier Series. Modulation

Lab P-4: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: ) X

Signal Characteristics

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2

PYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture PYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture 11-2

Sound Waves and Beats

Data Communication. Chapter 3 Data Transmission

Analog-Digital Interface

Discrete Sequences and Systems

Continuous time and Discrete time Signals and Systems

Lecture #2. EE 313 Linear Systems and Signals

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

Topic. Spectrogram Chromagram Cesptrogram. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Digital Image Processing COSC 6380/4393

Digital Signal Processing +

Signal Processing. Naureen Ghani. December 9, 2017

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

ENGR 210 Lab 12: Sampling and Aliasing

Communication Channels

URBANA-CHAMPAIGN. CS 498PS Audio Computing Lab. Audio DSP basics. Paris Smaragdis. paris.cs.illinois.

Measuring impulse responses containing complete spatial information ABSTRACT

Application of Fourier Transform in Signal Processing

Signals. Periodic vs. Aperiodic. Signals

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

DIGITAL SIGNAL PROCESSING (Date of document: 6 th May 2014)

DFT: Discrete Fourier Transform & Linear Signal Processing

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

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

Part 2: Fourier transforms. Key to understanding NMR, X-ray crystallography, and all forms of microscopy

Discrete-time Signals & Systems

Статистическая обработка сигналов. Введение

ECE 201: Introduction to Signal Analysis

Fourier Signal Analysis

Copyright 2009 Pearson Education, Inc. Slide Section 8.2 and 8.3-1

DSP Design Lecture 1. Introduction and DSP Basics. Fredrik Edman, PhD

FFT analysis in practice

ICT Elementary for Embedded Systems Signal/Electronic Fundamental. Fourier Transform and Communication Systems. Asst. Prof. Dr.

Theory of Telecommunications Networks

Introduction to Electronic Circuit for Instrumentation

Musical Acoustics, C. Bertulani. Musical Acoustics. Lecture 13 Timbre / Tone quality I

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

ECE 201: Introduction to Signal Analysis. Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University

6.02 Fall 2012 Lecture #12

Chapter 1 INTRODUCTION TO DIGITAL SIGNAL PROCESSING. 1.1 Introduction 1.2 The Sampling Process

Multicomponent Multidimensional Signals

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

L A B 3 : G E N E R A T I N G S I N U S O I D S

Transcription:

Introduction to Digital Signal Processing (Discrete-time Signal Processing) Prof. Chu-Song Chen Research Center for Info. Tech. Innovation, Academia Sinica, Taiwan Dept. CSIE & GINM National Taiwan University Fall 2013

In our technical society we often measure a continuously varying (analog) quantity. eg. Blood pressure, earthquake displacement, population of a city, waves falling on a beach, and the probability of death. All these measurement varying with time; we regard them as functions of time: x(t) in mathematical notation.

Signals flow of information measured quantity that varies with time (or position) electrical signal received from a transducer (microphone, thermometer, accelerometer, antenna, etc.) electrical signal that controls a process

For technical reasons, instead of the signal x(t), we usually record equally spaced samples x n of the function x(t). (discrete-time) The sampling theorem gives the conditions on the signal that justify this sampling process. i.e., discrete-time signal is a sequence of numbers Moreover, when the samples are taken they are not recorded with infinite precision but are rounded off (sometimes chopped off) to comparatively few digits. This procedure is often called quantizing the samples. (digital)

Discrete-time signal sequences can often arise from periodic sampling of an analog signal x a (t) x xa ( nt ), - n

Signal Source where it comes Continuous-time signals: voltage, current, temperature, speed,... Discrete-time signals: daily minimum/maximum temperature, daily stock price, sampled continuous signals,... Electronics can only deal easily with timedependent signals; therefore spatial signals, such as images, are typically first converted into a time signal with a scanning process (TV, fax, etc.).

Type of signals

Example: Acoustic Signal (analog)

Example: Number of Sunspots (discrete-time)

Example: Image Signal (discrete-time)

The concept of System The set consisting of all signals (of a type) forms a functional space. Signal Processing System: map an input signal to an output signal Continuous-time systems Systems for which both input and output are continuous-time signals Digital system Both input and output are digital signals x[n] T{} y[n] System: a function (or mapping) whose input and output are both functions.

Example: Microphone and Speaker Analog system Discrete-time system

Course Outline Basic topics Z-transform Discrete-time Fourier transform (DTFT) Sample of continuous-time signals Discrete-time linear systems & its transform domain analysis Structure for discrete-time systems Digital filter Discrete Fourier transform (DFT) Fast computation of discrete Fourier transform Fourier analysis of signals using DFT Random signals and systems Wavelets

Reference Textbooks James H. McClellan, Ronald W. Schafer, and Mark A. Yoader, Signal Processing First Alan V. Oppenheim and Ronald W. Schafer, Discrete- Time Signal Processing, Prentice-Hall. Boaz Porat, A Course in Digital Signal Processing Dimitris G. Manolakis and Vinay K. Ingle, Applied Digital Signal Processing Main Journals IEEE Trans. Signal Processing IEEE Signal Processing Magazine Main Conferences IEEE International Conference on ASSP (ICASSP)

Course Information Teaching assistant: Yin-Tzu Lin 林映孜 known@cmlab.csie.ntu.edu.tw Course webpage: www.cmlab.csie.ntu.edu.tw/~dsp/dsp2013 Grades Homework x several (30%) Test x 2~3 (40~45%) Term project (25~30%)

Frequency and Sinusoids Signal processing is originated form the processing of frequency. Understanding the frequency: better from sinusoidal functions. Important to the field of broadcasting, wireless communication, music analysis, etc.

Sinusoids Cosine functions x(t)=a cos(2πf 0 t+φ)

Sinusoids Cosine functions x(t)=a cos(2πf 0 t+φ) Where x(t) is a function of the time variable t. The amplitude of the cosine is given by the real number A. The frequency of the of the cosine wave is f 0, The phase of the sinusoid is given by the parameter φ.

Sound of a clay whistle Example: CLAY whistle

CLAY whistle BLUE-BIRD: 1000 to 1009 milliseconds In this case, the audio file is the analog-to-digitalconverted samples of the microphone output.

Frequency In the audio experiments that follow, it is the frequency that determines what we hear. Eg., the waveform of a tuning fork Amplitude determines the loudness; Frequency determines the sound we heard

Tuning Fork Signal: first 14 milliseconds

Frequency and period of sinusoids Cosine functions x(t)=a cos(2πf 0 t+φ) It can also be written as x(t)=a cos(w 0 t+φ) where w 0 = 2πf 0 f 0 : Hertz (cycles/sec); w 0 :(Radians/sec) T 0 = 1/f 0 is the period. It can be verified that x(t+nt 0 ) = x(t) for all integers n. So, T 0 = 2π/w 0

Example

Example What is phase? time shift vs. phase

Time Shift & Phase

Range of phase So, we usually consider the phase only in a range [-, ] or [0,2]

Other sinusoids Sine function can be represented as a phase shift of -/2 of the cosine function: sin() = cos( - /2) Cosine function can also be represented as phase shift of -/2 of the sine function cos() = sin( + /2)

Basic Properties of Sine and Cosine

Some basic trigonometric identities Sine and cosine are derivatives to each other

Addition of Sinusoids of The Same Frequency

Here, we can see that sine waves form a set of orthogonal bases that could be used for signal representation.

Basis Functions for Decompositions As mentioned, signal processing is originated form the processing of frequency. We hope to decompose the signals by extracting its components with respect to different frequencies. In other words, we hope to represent a signal as a linear combination of bases functions. What are the proper basis functions for frequency decomposition? Sine or Cosine?

Bases functions in signal processing In signal processing, instead of using either sine or cosine, we use the complex exponential for bases representation. Compared to sine and cosine, complex exponential has several advantages for signal representations. Reasons will be made clearer later. complex exponentials: where e j w j w e 0 t 0t cos( w 0t ) jsin( w 0t ) W 0 : frequency of the complex exponential; : phase.

Review of complex numbers

Explanation of the complex exponential e jwt Imagery (Vertical) axis Time axis Real (Horizontal) axis

Projection of e jwt Real and Imagery axes Imagery (Vertical) axis Z Real (Horizontal) axis, X

Analogous to electromagnetic wave

Unifying operation by multiplication By using complex exponential, amplitude and phase changes can both be represented by multiplications: j w t jw t j Ae 0 ( Ae ) e 0 Amplitude and Phase: by multiplication complex number multiplication can represent both scaling (amplitude variation) and rotation (phase shift)

Further advantage of complex exponential Geometric Sequence Evaluation Let x be a complex number. Geometric series is used quite often to simplify expressions in DSP. if the magnitude of x is less than one, then x x x x x x N N n N n 1 1 1 1 0 1 2 1, 1 1 0 x x x n n

Note that trigonometric functions, especially sine and cosine functions, appear in different combinations in all kinds of harmonic analysis: Fourier series, Fourier transforms, etc. Advantages of complex exponential The identities that give sine and cosine functions in terms of exponentials are important because they allow us to find sums of sines and cosines using the geometric series. Eg. we know N 1 n0 sin 2n N 0 N 1 n0 cos 2n N 0 ie. a sum of equally spaced samples of any sine or cosine function within 2 is zero, provided the sum is over a cycle (or a number of cycles), of the function.

They can be easily verified by using the geometric sequence of complex exponentials: N n 1 0 e 2n j N 1 e 1 e j2 2n j N 0