Signal Processing. Lecture 02: Discrete Time Signals and Systems. Ahmet Taha Koru, Ph. D. Yildiz Technical University.

Similar documents
Signals and Systems. Problem Set: From Continuous-Time to Discrete-Time

ECE 308 Discrete-Time Signals and Systems

ELEG 4603/5173L Digital Signal Processing Ch. 1 Discrete-Time Signals and Systems

ECE4270 Fundamentals of DSP. Lecture 2 Discrete-Time Signals and Systems & Difference Equations. Overview of Lecture 2. More Discrete-Time Systems

ADVANCED DIGITAL SIGNAL PROCESSING

Chapter 2 Systems and Signals

Olli Simula T / Chapter 1 3. Olli Simula T / Chapter 1 5

Discrete-Time Signals and Systems. Discrete-Time Signals and Systems. Signal Symmetry. Elementary Discrete-Time Signals.

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Discrete-Time Signals and Systems. Signals and Systems. Digital Signals. Discrete-Time Signals. Operations on Sequences: Basic Operations

x[0] x[1] x[2] Figure 2.1 Graphical representation of a discrete-time signal.

Signal Processing in Mechatronics. Lecture 3, Convolution, Fourier Series and Fourier Transform

EE123 Digital Signal Processing

EE123 Digital Signal Processing

DIGITAL SIGNAL PROCESSING LECTURE 3

Time-Domain Representations of LTI Systems

Computing the output response of LTI Systems.

Analog and Digital Signals. Introduction to Digital Signal Processing. Discrete-time Sinusoids. Analog and Digital Signals

Discrete-Time System Properties. Discrete-Time System Properties. Terminology: Implication. Terminology: Equivalence. Reference: Section 2.

ECE-S352 Introduction to Digital Signal Processing Lecture 3A Direct Solution of Difference Equations

Frequency Response of FIR Filters

Signals & Systems Chapter3

Introduction to Signals and Systems, Part V: Lecture Summary

Module 18 Discrete Time Signals and Z-Transforms Objective: Introduction : Description: Discrete Time Signal representation

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course

Solutions. Number of Problems: 4. None. Use only the prepared sheets for your solutions. Additional paper is available from the supervisors.

Digital Signal Processing, Fall 2006

Chapter 7 z-transform

COMM 602: Digital Signal Processing

Linear time invariant systems

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

Solutions - Homework # 1

FIR Filters. Lecture #7 Chapter 5. BME 310 Biomedical Computing - J.Schesser

Generalizing the DTFT. The z Transform. Complex Exponential Excitation. The Transfer Function. Systems Described by Difference Equations

2D DSP Basics: 2D Systems

Classification of DT signals

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

Chapter 7: The z-transform. Chih-Wei Liu

Discrete-time signals and systems See Oppenheim and Schafer, Second Edition pages 8 93, or First Edition pages 8 79.

Question1 Multiple choices (circle the most appropriate one):

M2.The Z-Transform and its Properties

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

Solution of EECS 315 Final Examination F09

MAS160: Signals, Systems & Information for Media Technology. Problem Set 5. DUE: November 3, (a) Plot of u[n] (b) Plot of x[n]=(0.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science. BACKGROUND EXAM September 30, 2004.

6.003 Homework #3 Solutions

Optimally Sparse SVMs

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j

Introduction to Digital Signal Processing

Exponential Moving Average Pieter P

Mathematical Description of Discrete-Time Signals. 9/10/16 M. J. Roberts - All Rights Reserved 1

Chapter 3. z-transform

CHAPTER 1 SEQUENCES AND INFINITE SERIES

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Finite-length Discrete Transforms. Chapter 5, Sections

ELEG3503 Introduction to Digital Signal Processing

1. Nature of Impulse Response - Pole on Real Axis. z y(n) = r n. z r

2.4 - Sequences and Series

Solution of Linear Constant-Coefficient Difference Equations

Definition An infinite sequence of numbers is an ordered set of real numbers.

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences.

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Lecture 2 Linear and Time Invariant Systems

Review of Discrete-time Signals. ELEC 635 Prof. Siripong Potisuk

The z-transform can be used to obtain compact transform-domain representations of signals and systems. It

Signal Processing in Mechatronics

6.003: Signal Processing

Poincaré Problem for Nonlinear Elliptic Equations of Second Order in Unbounded Domains

Generalized Semi- Markov Processes (GSMP)

A Note on the Symmetric Powers of the Standard Representation of S n

Math 113 Exam 3 Practice

AND SYSTEMS 2.0 INTRODUCTION

ELEC1200: A System View of Communications: from Signals to Packets Lecture 3

Infinite Sequences and Series

CHAPTER 10 INFINITE SEQUENCES AND SERIES

1 Lecture 2: Sequence, Series and power series (8/14/2012)

Written exam Digital Signal Processing for BMT (8E070). Tuesday November 1, 2011, 09:00 12:00.

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Math 21B-B - Homework Set 2

EECE 301 Signals & Systems

MCT242: Electronic Instrumentation Lecture 2: Instrumentation Definitions

Appendix: The Laplace Transform

Digital signal processing: Lecture 5. z-transformation - I. Produced by Qiangfu Zhao (Since 1995), All rights reserved

SOME SEQUENCE SPACES DEFINED BY ORLICZ FUNCTIONS

DIGITAL FILTER ORDER REDUCTION

Review Problems 1. ICME and MS&E Refresher Course September 19, 2011 B = C = AB = A = A 2 = A 3... C 2 = C 3 = =

Lesson 10: Limits and Continuity

Unit 6: Sequences and Series

Chapter 4 : Laplace Transform

CS / MCS 401 Homework 3 grader solutions

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016

d) If the sequence of partial sums converges to a limit L, we say that the series converges and its

Homework 2. Show that if h is a bounded sesquilinear form on the Hilbert spaces X and Y, then h has the representation

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

Mechatronics. Time Response & Frequency Response 2 nd -Order Dynamic System 2-Pole, Low-Pass, Active Filter

is also known as the general term of the sequence

Seunghee Ye Ma 8: Week 5 Oct 28

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

6.003: Signals and Systems. Feedback, Poles, and Fundamental Modes

Transcription:

Sigal Processig Lecture 02: Discrete Time Sigals ad Systems Ahmet Taha Koru, Ph. D. Yildiz Techical Uiversity 2017-2018 Fall ATK (YTU) Sigal Processig 2017-2018 Fall 1 / 51

Discrete Time Sigals Discrete Time Sigals ATK (YTU) Sigal Processig 2017-2018 Fall 2 / 51

Discrete Time Sigals Impulse Impulse (uit-sample) is the sequece defied as { 0, 0 δ[] = 1, = 0 1 δ[] Figure: Impulse fuctio. ATK (YTU) Sigal Processig 2017-2018 Fall 3 / 51

Discrete Time Sigals A arbitrary sigal as sum of impulses (1/3) Let us cosider a sigal with followig values: x[ 3] = 2, x[0] = 4 x[1] = 1, x[4] = 3 2 4 x[] 3-1 Figure: A arbitrary sequece. ATK (YTU) Sigal Processig 2017-2018 Fall 4 / 51

Discrete Time Sigals A arbitrary sigal as sum of impulses (2/3) The sequece i the figure ca be represeted as x[] = 2δ[ + 3] + 4δ[] δ[ 1] + 3δ[ 4]. 2 4 x[] 3-1 Figure: A arbitrary sequece. ATK (YTU) Sigal Processig 2017-2018 Fall 5 / 51

Discrete Time Sigals A arbitrary sigal as sum of impulses (3/3) More geerally, ay sequece ca be expressed as x[] = x[k]δ[ k] k= ATK (YTU) Sigal Processig 2017-2018 Fall 6 / 51

Discrete Time Sigals Uit step Uit step is the sequece defied as { 0, < 0 u[] = 1, 0 u[] 1... Figure: Uit step fuctio. ATK (YTU) Sigal Processig 2017-2018 Fall 7 / 51

Discrete Time Sigals Uit step as sum of impulses Uit step ca be represeted as sum of impulses as follows: u[] = δ[] + δ[ 1] + δ[ 2] + δ[ 3] +... = δ[ k] k=0 u[] 1... Figure: Uit step fuctio. ATK (YTU) Sigal Processig 2017-2018 Fall 8 / 51

Discrete Time Sigals Uit step as sum of impulses Uit step ca be represeted as sum of impulses as follows: u[] = δ[] + δ[ 1] + δ[ 2] + δ[ 3] +... = δ[ k] k=0 u[] 1... Figure: Uit step fuctio. ATK (YTU) Sigal Processig 2017-2018 Fall 9 / 51

Discrete Time Sigals Differet represetatios of uit step ad impulse δ[] Impulse: δ[] = u[] u[ 1] Step: u[] = δ[k] k= u[]... u[ 1]... ATK (YTU) Sigal Processig 2017-2018 Fall 10 / 51

Discrete Time Sigals Expoetial sequece The sequece is i the form x[] = Aα If α < 0 alteratig (+/-) If α > 0 ot alteratig If α < 1 decreasig If α > 1 icreasig x 1 [] x 2 [] α = 1.15 α = 0.85 ATK (YTU) Sigal Processig 2017-2018 Fall 11 / 51

Discrete Time Sigals Discrete-time siusoids Discrete-time siusoid is described as x[] = A cos(ω + θ) = A cos(2πf + θ) cos(π/8) ATK (YTU) Sigal Processig 2017-2018 Fall 12 / 51

Discrete Time Sigals Discrete-time siusoids: Period The sigal periodic oly if f is a ratioal umber. f = k N, ω = 2π k N, k, N Z If f = k N where commo factors are caceled, the the period is N. cos(2π 3 4 ) ATK (YTU) Sigal Processig 2017-2018 Fall 13 / 51

Discrete Time Sigals Discrete-time siusoids: Aliases Discrete-time siusoids whose frequecies are separated by a iteger of 2π are idetical. cos(ω) = cos([ω + 2πr] ), r Z Ay siusoid with ω > π is idetical to a siusoid with ω π. Siusoids whose ω > π are called aliases (copies). cos( 3 4 π) cos( 5 4 π) ATK (YTU) Sigal Processig 2017-2018 Fall 14 / 51

Discrete Time Sigals Discrete-time siusoids: Highest rate of oscillatio Highest rate of oscillatio is attaied whe ω = π (or ω = π). cos(π) 8 4 4 8 ATK (YTU) Sigal Processig 2017-2018 Fall 15 / 51

Discrete Time Sigals Complex expoetials Complex expoetial sequece is described by x[2] Im x[] = A e jω = A e j2π k N whose elemets are complex umbers. x[3] x[4] x[5] x[1] x[0] x[7] Re The period ad aliases are similar to siusoids. x[6] ATK (YTU) Sigal Processig 2017-2018 Fall 16 / 51

Discrete Time Systems ATK (YTU) Sigal Processig 2017-2018 Fall 17 / 51

Examples Discrete Time Systems: Examples ATK (YTU) Sigal Processig 2017-2018 Fall 18 / 51

Examples What is a discrete-time system? A discrete-time system is defied as a trasformatio (operator) that maps a iput sequece x[] ito a output sequece y[]. y[] = T (x[]) x[] T ( ) y[] Figure: Represetatio of a discrete-system i a block diagram ATK (YTU) Sigal Processig 2017-2018 Fall 19 / 51

Examples Discrete-time system example I: The Ideal Delay The ideal delay system is defied by the equatio y[] = x[ d ], < <. x[] x[ 1] ATK (YTU) Sigal Processig 2017-2018 Fall 20 / 51

Examples Discrete-time system example II: Movig Average (1/3) The geeral movig-average system is defied by the equatio y[] = 1 M 1 + M 2 + 1 M 2 k= M 1 x[ k] = 1 M 1 + M 2 + 1 (x[ + M 1] + x[ + M 1 1] + + x[] + + x[ M 2 1] + x[ M 2 ]) th sample of the output sequece is average of (M 1 + M 2 + 1) samples aroud th sample of iput sequece. ATK (YTU) Sigal Processig 2017-2018 Fall 21 / 51

Examples Discrete-time system example II: Movig Average (2/3) What is the output of a zero-mea oise sigal w[]? w[] y[] ATK (YTU) Sigal Processig 2017-2018 Fall 22 / 51

Examples Discrete-time system example II: Movig Average (2/3) What is the output of a zero-mea oise sigal w[]? w[] y[] ATK (YTU) Sigal Processig 2017-2018 Fall 23 / 51

Examples Discrete-time system example II: Movig Average (3/3) Output of oisy sesor sigals x 1 [] x 2 [] y 1 [] y 2 [] ATK (YTU) Sigal Processig 2017-2018 Fall 24 / 51

Classificatio Discrete Time Systems: Classificatio ATK (YTU) Sigal Processig 2017-2018 Fall 25 / 51

Classificatio Why classificatio matters? To determie which special mathematical tools ca be used to desig/aalyze the system Ex: Liear Time-ivariat (LTI) System Fourier/z-domai aalysis To reach required iformatio from academic literature or olie resources. Example Google searches: Stability aalysis Too geeral, may ot be applicable Stability aalysis for LTI Time-Delay Systems Applicatio specific ATK (YTU) Sigal Processig 2017-2018 Fall 26 / 51

Classificatio Memoryless Systems (1/2) A system is referred to as memoryless if the output y[] at every value of depeds oly o the iput x[] at the same value of. ONLY curret value of the iput x[] NO past values NO future values Example The discrete-time system described as y[] = (x[]) 2 is a memoryless system. ATK (YTU) Sigal Processig 2017-2018 Fall 27 / 51

Classificatio Memoryless System (2/2) System Expressio Memoryless Ideal Delay y[] = x[ d ] Movig Average y[] = 1 M2 x[ k] M 1 + M 2 + 1 k= M1 ATK (YTU) Sigal Processig 2017-2018 Fall 28 / 51

Classificatio Memoryless System (2/2) System Expressio Memoryless Ideal Delay y[] = x[ d ] NO Movig Average y[] = 1 M2 x[ k] NO M 1 + M 2 + 1 k= M1 ATK (YTU) Sigal Processig 2017-2018 Fall 29 / 51

Classificatio Liear Systems Defiitio A system T ( ) is liear if ad oly if followig properties hold: Additivity: T (x 1 [] + x 2 []) = T (x 1 []) + T (x 2 []) = y 1 [] + y 2 [] Homogeeity: T (αx[]) = αt (x[]) = αy[] Combiig two properties yields super-positio: T (αx 1 [] + βx 2 []) = αt (x 1 []) + βt (x 2 []) ATK (YTU) Sigal Processig 2017-2018 Fall 30 / 51

Classificatio Liear System Example: The Accumulator The system, with followig iput-output relatioship, is liear. y[] = x[k] k= Proof. For x 3 [k] = αx 1 [k] + βx 2 [k] super-positio property holds: y 3 [k] = (αx 1 [k] + βx 2 [k]) k= = k= (αx 1 [k]) + k= (βx 2 [k]) = α k= x 1 [k] + β k= x 2 [k] = αy 1 [k] + βy 2 [k] ATK (YTU) Sigal Processig 2017-2018 Fall 31 / 51

Classificatio No-liear System Example: Logarithm The system, with followig iput-output relatioship, is o-liear. y[] = log 10 ( x[] ) Proof. A couter-example violatig super-positio property is x 1 [] = 1 ad x 2 [] = 10. For x 3 [] = x 1 [] + x 2 [], log 10 (10 + 1) = log 10 (11) log 10 (10) + log 10 (1) = 1 ATK (YTU) Sigal Processig 2017-2018 Fall 32 / 51

Classificatio Other Liearity Examples System Expressio Liearity Ideal Delay y[] = x[ d ] Movig Average y[] = 1 M2 x[ k] M 1 + M 2 + 1 k= M1 ATK (YTU) Sigal Processig 2017-2018 Fall 33 / 51

Classificatio Other Liearity Examples System Expressio Liearity Ideal Delay y[] = x[ d ] YES Movig Average y[] = 1 M2 x[ k] YES M 1 + M 2 + 1 k= M1 ATK (YTU) Sigal Processig 2017-2018 Fall 34 / 51

Classificatio Time-ivariat Systems Defiitio The systems, for which a time shift or delay of the iput sequece causes a correspodig shift i the output sequece, are called time-ivariat systems. If the system is time-ivariat, the output is y 2 [] = y 1 [ d ] for the iput x 2 [] = x 1 [ d ] for arbitrary d. ATK (YTU) Sigal Processig 2017-2018 Fall 35 / 51

Classificatio A time-ivariat system example: Accumulator (1/2) The accumulator system is time-ivariat. Proof. For x 2 [] = x 1 [ d ] y 2 [] = k= x 2 [k] = Chage the variable k as k 1 = k d y 2 [] = d k 1 = k= x 1 [k d ] x 1 [k 1 ] = y 1 [ d ] ATK (YTU) Sigal Processig 2017-2018 Fall 36 / 51

Classificatio A time-ivariat system example: Accumulator (2/2) x 1 [] x 2 [] y 1 [] y 2 [] Figure: The simulatio of the system illustrates the time-ivariat property ATK (YTU) Sigal Processig 2017-2018 Fall 37 / 51

Classificatio Not a time-ivariat system example: Compressor (1/2) The system is defied by the relatio y[] = x[m], < <, M Z + The system is ot time-ivariat. Proof. Cosider y 1 [] = x 1 [M]. For x 2 [] = x 1 [ d ], y 2 [] = x 2 [M] = x 1 [M d ] which is ot equal to delayed versio of output y 1 y 2 [] y 1 [ d ] = x 1 [M( d )] ATK (YTU) Sigal Processig 2017-2018 Fall 38 / 51

Classificatio Not a time-ivariat system example: Compressor (2/2) x 1 [] x 2 [] = x 1 [ 1] y 1 [] y 2 [] y 1 [ 1] Figure: The simulatio for M = 3. System is ot time-ivariat. ATK (YTU) Sigal Processig 2017-2018 Fall 39 / 51

Classificatio Causal Systems Defiitio A system is causal if, for every choice of 0, the output sequece value at the idex = 0 depeds oly o the iput sequece values for 0. The output depeds ONLY curret ad past values of the iput NOT depeds o the future values of the iput ATK (YTU) Sigal Processig 2017-2018 Fall 40 / 51

Classificatio Causality Examples Example The backward differece system y[] = x[] x[ 1] is causal. Example The forward differece system y[] = x[ + 1] x[] is ot causal sice output depeds o a future value of iput. ATK (YTU) Sigal Processig 2017-2018 Fall 41 / 51

Classificatio Stable Systems Defiitio A system is bouded-iput bouded-output (BIBO) stable if ad oly if every bouded iput sequece produces a bouded output sequece. For ay bouded iput x[] B x <,, the system is BIBO stable if ad oly if y[] B y <,. ATK (YTU) Sigal Processig 2017-2018 Fall 42 / 51

Classificatio Stable system example The system y[] = x[] 2 is BIBO stable sice for ay x[] B x, y[] = x[] 2 Bx 2. ATK (YTU) Sigal Processig 2017-2018 Fall 43 / 51

Classificatio Ustable system example: The Accumulator System (1/2) The accumulator system y[] = k= x[k] is ot BIBO stable. For x[] = u[], { 0, < 0 y[] = + 1, 0 There is o upper boud of the accumulator system output for the step iput. ATK (YTU) Sigal Processig 2017-2018 Fall 44 / 51

Classificatio Ustable system example: The Accumulator System (2/2) w[] 5 10 y[] 5 10 Figure: Ustable behaviour of the accumulator system. ATK (YTU) Sigal Processig 2017-2018 Fall 45 / 51

Quiz Quiz ATK (YTU) Sigal Processig 2017-2018 Fall 46 / 51

Quiz 1 Is the system liear? Prove or disprove. y[] = max k [,] x[k]. 2 Uder what coditios, the movig-average system y[] = M 2 1 x[ k] 1 + M 1 + M 2 k= M 1 is causal? 3 Is the movig-average system is BIBO stable? Prove. ATK (YTU) Sigal Processig 2017-2018 Fall 47 / 51

Quiz Problem 1 Solutio Let x 1 [] = δ[] ad x 2 [] = δ[]. The, y 1 [] = u[] ad y 2 [] = 0. For x 3 [] = x 1 [] + x 2 [] = 0, the output is y 3 [] = 0 y 1 [] + y 2 [] = u[]. Superpositio does ot hold for the system, hece it is ot liear. δ[] δ[] x 3 [] y 1 [] y 2 [] y 3 [] ATK (YTU) Sigal Processig 2017-2018 Fall 48 / 51

Quiz Problem 2: Solutio The movig average system is M 2 1 y[] = x[ k] 1 + M 1 + M 2 k= M 1 1 = (x[ + M 1 ] + + x[] +... x[ M 2 ]). 1 + M 1 + M 2 System is causal whe M 2 0 ad M 1 0. ATK (YTU) Sigal Processig 2017-2018 Fall 49 / 51

Quiz Problem 3: Solutio (1/2) For iputs satisfyig x[] B x, (1) M y[] = 1 2 x[ k] 1 + M 1 + M 2 k= M 1 M 1 2 = 1 + M 1 + M 2 x[ k] k= M 1 From triagle iequality property of absolute value ( a + b a + b ), y[] M 2 1 x[ k], 1 + M 1 + M 2 k= M 1 ATK (YTU) Sigal Processig 2017-2018 Fall 50 / 51

Quiz Problem 3: Solutio (1/2) ad from (1) y[] 1 1 + M 1 + M 2 (1 + M 1 + M 2 )B x As a result, if x[] B x, the y[] B x. System is BIBO stable. ATK (YTU) Sigal Processig 2017-2018 Fall 51 / 51